File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/integration-tests/bash Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 6
6
# archive.sh <source_dir> <target_dir>
7
7
# - internal helper method called by run.sh
8
8
# - archives directory ${1} into ${2}/IntSuite.TIMESTAMP.tar.gz
9
- # - deletes all but the 5 newest archives
9
+ # - deletes all but the 10 newest archives
10
10
# - this method doesn't have any configurable env vars
11
11
#
12
12
@@ -38,7 +38,7 @@ function archive {
38
38
[ $? -eq 0 ] || fail " Could not archive, 'tar -czf $ARCHIVE $SOURCE_DIR ' command failed: ` cat $OUTFILE ` "
39
39
rm -f $OUTFILE
40
40
41
- find $ARCHIVE_DIR -maxdepth 1 -name " IntSuite*tar.gz" | sort -r | awk ' { if (NR>5 ) print $NF }' | xargs rm -f
41
+ find $ARCHIVE_DIR -maxdepth 1 -name " IntSuite*tar.gz" | sort -r | awk ' { if (NR>10 ) print $NF }' | xargs rm -f
42
42
43
43
trace Archived to \' $ARCHIVE \' .
44
44
}
You can’t perform that action at this time.
0 commit comments