diff options
author | Denys Vlasenko | 2016-10-03 00:51:29 +0200 |
---|---|---|
committer | Denys Vlasenko | 2016-10-03 00:51:29 +0200 |
commit | 2feaa227a4ddbf642207beebe7ac5ce85c57f018 (patch) | |
tree | 39e469a3bbdcac9d85e0615685f90999d044266a /shell/msh_test/msh-vars | |
parent | 9793fc576afa25715cf75c121dbfd9da1e053b0a (diff) | |
download | busybox-2feaa227a4ddbf642207beebe7ac5ce85c57f018.zip busybox-2feaa227a4ddbf642207beebe7ac5ce85c57f018.tar.gz |
shell: delete all msh tests
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/msh_test/msh-vars')
-rw-r--r-- | shell/msh_test/msh-vars/star.right | 6 | ||||
-rwxr-xr-x | shell/msh_test/msh-vars/star.tests | 8 | ||||
-rw-r--r-- | shell/msh_test/msh-vars/var.right | 4 | ||||
-rwxr-xr-x | shell/msh_test/msh-vars/var.tests | 9 | ||||
-rw-r--r-- | shell/msh_test/msh-vars/var_subst_in_for.right | 40 | ||||
-rwxr-xr-x | shell/msh_test/msh-vars/var_subst_in_for.tests | 40 |
6 files changed, 0 insertions, 107 deletions
diff --git a/shell/msh_test/msh-vars/star.right b/shell/msh_test/msh-vars/star.right deleted file mode 100644 index 0ecc55b..0000000 --- a/shell/msh_test/msh-vars/star.right +++ /dev/null @@ -1,6 +0,0 @@ -.1. -.abc. -.d. -.e. -.f. -.1 abc d e f. diff --git a/shell/msh_test/msh-vars/star.tests b/shell/msh_test/msh-vars/star.tests deleted file mode 100755 index 5554c40..0000000 --- a/shell/msh_test/msh-vars/star.tests +++ /dev/null @@ -1,8 +0,0 @@ -if test $# = 0; then - exec "$THIS_SH" star.tests 1 abc 'd e f' -fi -# 'd e f' should be split into 3 separate args: -for a in $*; do echo ".$a."; done - -# must produce .1 abc d e f. -for a in "$*"; do echo ".$a."; done diff --git a/shell/msh_test/msh-vars/var.right b/shell/msh_test/msh-vars/var.right deleted file mode 100644 index 14b2314..0000000 --- a/shell/msh_test/msh-vars/var.right +++ /dev/null @@ -1,4 +0,0 @@ -http://busybox.net -http://busybox.net_abc -1 -1 diff --git a/shell/msh_test/msh-vars/var.tests b/shell/msh_test/msh-vars/var.tests deleted file mode 100755 index 0a63696..0000000 --- a/shell/msh_test/msh-vars/var.tests +++ /dev/null @@ -1,9 +0,0 @@ -URL=http://busybox.net - -echo $URL -echo ${URL}_abc - -true -false; echo $? -true -{ false; echo $?; } diff --git a/shell/msh_test/msh-vars/var_subst_in_for.right b/shell/msh_test/msh-vars/var_subst_in_for.right deleted file mode 100644 index c8aca1c..0000000 --- a/shell/msh_test/msh-vars/var_subst_in_for.right +++ /dev/null @@ -1,40 +0,0 @@ -Testing: in x y z -.x. -.y. -.z. -Testing: in u $empty v -.u. -.v. -Testing: in u " $empty" v -.u. -. . -.v. -Testing: in u $empty $empty$a v -.u. -.a. -.v. -Testing: in $a_b -.a. -.b. -Testing: in $* -.abc. -.d. -.e. -Testing: in $@ -.abc. -.d. -.e. -Testing: in -$*- -.-abc. -.d. -.e-. -Testing: in -$@- -.-abc. -.d. -.e-. -Testing: in $a_b -$a_b- -.a. -.b. -.-a. -.b-. -Finished diff --git a/shell/msh_test/msh-vars/var_subst_in_for.tests b/shell/msh_test/msh-vars/var_subst_in_for.tests deleted file mode 100755 index 4d1c112..0000000 --- a/shell/msh_test/msh-vars/var_subst_in_for.tests +++ /dev/null @@ -1,40 +0,0 @@ -if test $# = 0; then - exec "$THIS_SH" var_subst_in_for.tests abc "d e" -fi - -echo 'Testing: in x y z' -for a in x y z; do echo ".$a."; done - -echo 'Testing: in u $empty v' -empty='' -for a in u $empty v; do echo ".$a."; done - -echo 'Testing: in u " $empty" v' -empty='' -for a in u " $empty" v; do echo ".$a."; done - -echo 'Testing: in u $empty $empty$a v' -a='a' -for a in u $empty $empty$a v; do echo ".$a."; done - -echo 'Testing: in $a_b' -a_b='a b' -for a in $a_b; do echo ".$a."; done - -echo 'Testing: in $*' -for a in $*; do echo ".$a."; done - -echo 'Testing: in $@' -for a in $@; do echo ".$a."; done - -echo 'Testing: in -$*-' -for a in -$*-; do echo ".$a."; done - -echo 'Testing: in -$@-' -for a in -$@-; do echo ".$a."; done - -echo 'Testing: in $a_b -$a_b-' -a_b='a b' -for a in $a_b -$a_b-; do echo ".$a."; done - -echo Finished |