X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=tests%2Frun-all;h=c4badc6bca74ddcaee5c002ff42ac4fbc5f325da;hb=ccc6cda312fea9f0468ee65b8f368e9653e1380b;hp=7add6881e4e0005acc40a67088b10416e81b673f;hpb=726f63884db0132f01745f1fb4465e6621088ccf;p=platform%2Fupstream%2Fbash.git diff --git a/tests/run-all b/tests/run-all old mode 100755 new mode 100644 index 7add688..c4badc6 --- a/tests/run-all +++ b/tests/run-all @@ -1,14 +1,20 @@ #! /bin/sh -PATH=.:$PATH # just to get the right version of printenv +PATH=.:$PATH # just to get the right version of printenv export PATH -unset ENV +# unset ENV only if it is set +[ "${ENV+set}" = "set" ] && unset ENV + +: ${THIS_SH:=../bash} +export THIS_SH + +echo Testing ${THIS_SH} echo Any output from any test indicates an anomaly worth investigating for x in run-* do case $x in - $0) ;; + $0|run-minimal) ;; *.orig|*~) ;; *) echo $x ; sh $x ;; esac