Changeset 3621 in MondoRescue for branches/3.3/mindi-busybox/shell/ash_test/run-all
- Timestamp:
- Dec 20, 2016, 4:07:32 PM (7 years ago)
- Location:
- branches/3.3
- Files:
-
- 1 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
branches/3.3/mindi-busybox/shell/ash_test/run-all
r2725 r3621 32 32 #*) echo $x ; sh $x ;; 33 33 *) 34 echo -n "$1/$x: " 34 35 sh "$x" >"$TOPDIR/$noslash-$x.fail" 2>&1 && \ 35 { echo " $1/$x: ok"; rm "$TOPDIR/$noslash-$x.fail"; } || echo "$1/$x:fail";36 { echo "ok"; rm "$TOPDIR/$noslash-$x.fail"; } || echo "fail"; 36 37 ;; 37 38 esac … … 43 44 name="${x%%.tests}" 44 45 test -f "$name.right" || continue 46 echo -n "$1/$x: " 45 47 { 46 48 "$THIS_SH" "./$x" >"$name.xx" 2>&1 47 49 diff -u "$name.xx" "$name.right" >"$TOPDIR/$noslash-$x.fail" \ 48 50 && rm -f "$name.xx" "$TOPDIR/$noslash-$x.fail" 49 } && echo " $1/$x: ok" || echo "$1/$x:fail"51 } && echo "ok" || echo "fail" 50 52 done 51 53 )
Note:
See TracChangeset
for help on using the changeset viewer.