Magellan Linux

Annotation of /trunk/mkinitrd-magellan/busybox/shell/hush_test/hush-vars/var_unbackslash.tests

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1179 - (hide annotations) (download)
Wed Dec 15 21:33:41 2010 UTC (13 years, 5 months ago) by niro
File size: 253 byte(s)
-updated to busybox-1.17.4
1 niro 1179 # Test for correct handling of backslashes
2     a=qwerty
3    
4     b=-$a-\t-\\-\"-\--\z-\*-\?-
5     echo b1=$b
6     echo "b1=$b"
7     b='-$a-\t-\\-\"-\--\z-\*-\?-'
8     echo b2=$b
9     echo "b2=$b"
10    
11     c=$b
12     echo "c=$c"
13     c=${b}
14     echo "c=$c"
15     c="$b"
16     echo "c=$c"
17     c="${b}"
18     echo "c=$c"
19    
20     echo "Done: $?"