shell: typo fix in tests
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
2d06c83b87
commit
b61fd8ec5a
2 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
exec 2>&1
|
exec 2>&1
|
||||||
x='@'
|
x='@'
|
||||||
a=2
|
a=2
|
||||||
# After processing nested ?:, outermost ?: should still rememeber to NOT evaluate a*=2
|
# After processing nested ?:, outermost ?: should still remember to NOT evaluate a*=2
|
||||||
echo 42:$((1?0?41:42:(a*=2)))
|
echo 42:$((1?0?41:42:(a*=2)))
|
||||||
echo "a=2:$a"
|
echo "a=2:$a"
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
exec 2>&1
|
exec 2>&1
|
||||||
x='@'
|
x='@'
|
||||||
a=2
|
a=2
|
||||||
# After processing nested ?:, outermost ?: should still rememeber to NOT evaluate a*=2
|
# After processing nested ?:, outermost ?: should still remember to NOT evaluate a*=2
|
||||||
echo 42:$((1?0?41:42:(a*=2)))
|
echo 42:$((1?0?41:42:(a*=2)))
|
||||||
echo "a=2:$a"
|
echo "a=2:$a"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue