Changeset 3621 in MondoRescue for branches/3.3/mindi-busybox/shell/ash_test
- Timestamp:
- Dec 20, 2016, 4:07:32 PM (8 years ago)
- Location:
- branches/3.3
- Files:
-
- 81 added
- 4 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
branches/3.3/mindi-busybox/shell/ash_test/ash-quoting/dollar_squote_bash1.right
r2725 r3621 1 1 a b 2 $'a\tb' 2 3 a 3 4 b c -
branches/3.3/mindi-busybox/shell/ash_test/ash-quoting/dollar_squote_bash1.tests
r2725 r3621 1 1 echo $'a\tb' 2 echo "$'a\tb'" 2 3 echo $'a\nb' $'c\nd''ef' 3 4 echo $'a\'b' $'c\"d' $'e\\f' -
branches/3.3/mindi-busybox/shell/ash_test/printenv.c
r2725 r3621 25 25 Foundation, 59 Temple Place, Suite 330, Boston, MA 02111 USA. */ 26 26 27 #include <stdio.h> 27 28 #include <stdlib.h> 28 29 #include <string.h> -
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.