diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-06-10 18:06:24 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-06-10 18:06:24 +0000 |
commit | 895bea23032221bcc158f447f81abacd046f87b1 (patch) | |
tree | 1a1a376d725353210d57a1855a9c50f4224eacca /shell/hush_test | |
parent | 46ccdcb96eab18739509078638a0a7b2ae393684 (diff) |
hush: fix some fallout from prev commits, add testsuite
Diffstat (limited to 'shell/hush_test')
-rw-r--r-- | shell/hush_test/hush-vars/empty.right | 3 | ||||
-rwxr-xr-x | shell/hush_test/hush-vars/empty.tests | 7 |
2 files changed, 10 insertions, 0 deletions
diff --git a/shell/hush_test/hush-vars/empty.right b/shell/hush_test/hush-vars/empty.right new file mode 100644 index 000000000..2cb3c70f2 --- /dev/null +++ b/shell/hush_test/hush-vars/empty.right @@ -0,0 +1,3 @@ +a b c d e f 1 2 3 4 5 6 7 8 9 0 A B C D E F +a b c d e f 1 2 3 4 5 6 7 8 9 0 A B C D E F +a b c d e f 1 2 3 4 5 6 7 8 9 0 A B C D E F diff --git a/shell/hush_test/hush-vars/empty.tests b/shell/hush_test/hush-vars/empty.tests new file mode 100755 index 000000000..72ac2c743 --- /dev/null +++ b/shell/hush_test/hush-vars/empty.tests @@ -0,0 +1,7 @@ +#!/bin/sh + +e= + +echo a b c d e f 1 2 3 4 5 6 7 8 9 0 A B C D E F +echo a $e b $e c $e d $e e $e f $e 1 $e 2 $e 3 $e 4 $e 5 $e 6 $e 7 $e 8 $e 9 $e 0 $e A $e B $e C $e D $e E $e F +echo $e a $e b $e c $e d $e e $e f $e 1 $e 2 $e 3 $e 4 $e 5 $e 6 $e 7 $e 8 $e 9 $e 0 $e A $e B $e C $e D $e E $e F |