Changeset 3232 in MondoRescue for branches/3.2/mindi-busybox/scripts/randomtest.loop
- Timestamp:
- Jan 1, 2014, 12:47:38 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.2/mindi-busybox/scripts/randomtest.loop
r2725 r3232 1 1 #!/bin/sh 2 3 run_testsuite=true 2 4 3 5 test -d "$1" || { echo "'$1' is not a directory"; exit 1; } … … 22 24 exit 1 # you may comment this out... 23 25 let fail++ 24 else 26 continue 27 fi 28 if $run_testsuite; then 25 29 ( 26 30 cd -- "$dir/testsuite" || exit 1 … … 30 34 if test $? != 0; then 31 35 echo "Failed runtest in $dir" 32 exit 1 36 exit 1 # you may comment this out... 37 let fail++ 38 continue 33 39 fi 34 40 tail -n10 -- "$dir/testsuite/runtest.log" 35 rm -rf -- "$dir"36 41 fi 42 rm -rf -- "$dir" 37 43 let cnt++ 38 44 done
Note:
See TracChangeset
for help on using the changeset viewer.