busybox/shell/ash_test/ash-vars/var1.tests
2008-02-15 15:02:15 +00:00

15 lines
228 B
Plaintext
Executable File

# check that first assignment has proper effect on second one
(
a=a A=$a
echo a=$a A=$A
)
(a=a A=$a; echo a=$a A=$A)
(a=a A=$a echo a=$a A=$A)
(a=a A=$a /bin/echo a=$a A=$A)
f() { echo a=$a A=$A; }
(a=a A=$a f)
(a=a A=$a; f)