diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2017-07-24 02:49:56 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2017-07-24 02:49:56 +0200 |
commit | e34dbc4fdcae6e21bb186c225f76d399d2656d75 (patch) | |
tree | ddca2d6cb7209bd34e6775c26e211e0c6f49d0e7 /shell/ash_test/run-all | |
parent | 0675b03de44b75f5f5fc7a54c164628e9ee01e9c (diff) | |
download | busybox-w32-e34dbc4fdcae6e21bb186c225f76d399d2656d75.tar.gz busybox-w32-e34dbc4fdcae6e21bb186c225f76d399d2656d75.tar.bz2 busybox-w32-e34dbc4fdcae6e21bb186c225f76d399d2656d75.zip |
ash: add all hush parsing tests to ast tests
All pass.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to '')
-rwxr-xr-x | shell/ash_test/run-all | 22 |
1 files changed, 18 insertions, 4 deletions
diff --git a/shell/ash_test/run-all b/shell/ash_test/run-all index 983e6d184..caf033577 100755 --- a/shell/ash_test/run-all +++ b/shell/ash_test/run-all | |||
@@ -2,10 +2,24 @@ | |||
2 | 2 | ||
3 | TOPDIR=`pwd` | 3 | TOPDIR=`pwd` |
4 | 4 | ||
5 | test -x ash || { | 5 | if test ! -x ash; then |
6 | echo "No ./ash - creating a link to ../../busybox" | 6 | if test ! -x ../../busybox; then |
7 | ln -s ../../busybox ash | 7 | echo "Can't run tests. Put ash binary into this directory (`pwd`)" |
8 | } | 8 | exit 1 |
9 | fi | ||
10 | echo "No ./ash - creating a link to ../../busybox" | ||
11 | ln -s ../../busybox ash | ||
12 | fi | ||
13 | if test ! -f .config; then | ||
14 | if test ! -f ../../.config; then | ||
15 | echo "Missing .config file" | ||
16 | exit 1 | ||
17 | fi | ||
18 | cp ../../.config . || exit 1 | ||
19 | fi | ||
20 | |||
21 | eval $(sed -e '/^#/d' -e '/^$/d' -e 's:^:export :' .config) | ||
22 | |||
9 | test -x printenv || gcc -O2 -o printenv printenv.c || exit $? | 23 | test -x printenv || gcc -O2 -o printenv printenv.c || exit $? |
10 | test -x recho || gcc -O2 -o recho recho.c || exit $? | 24 | test -x recho || gcc -O2 -o recho recho.c || exit $? |
11 | test -x zecho || gcc -O2 -o zecho zecho.c || exit $? | 25 | test -x zecho || gcc -O2 -o zecho zecho.c || exit $? |