aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xshell/ash_test/ash-arith/arith-ternary_nested3.tests2
-rwxr-xr-xshell/hush_test/hush-arith/arith-ternary_nested3.tests2
2 files changed, 2 insertions, 2 deletions
diff --git a/shell/ash_test/ash-arith/arith-ternary_nested3.tests b/shell/ash_test/ash-arith/arith-ternary_nested3.tests
index b69dcc6e9..6f753867e 100755
--- a/shell/ash_test/ash-arith/arith-ternary_nested3.tests
+++ b/shell/ash_test/ash-arith/arith-ternary_nested3.tests
@@ -1,6 +1,6 @@
1exec 2>&1 1exec 2>&1
2x='@' 2x='@'
3a=2 3a=2
4# After processing nested ?:, outermost ?: should still rememeber to NOT evaluate a*=2 4# After processing nested ?:, outermost ?: should still remember to NOT evaluate a*=2
5echo 42:$((1?0?41:42:(a*=2))) 5echo 42:$((1?0?41:42:(a*=2)))
6echo "a=2:$a" 6echo "a=2:$a"
diff --git a/shell/hush_test/hush-arith/arith-ternary_nested3.tests b/shell/hush_test/hush-arith/arith-ternary_nested3.tests
index b69dcc6e9..6f753867e 100755
--- a/shell/hush_test/hush-arith/arith-ternary_nested3.tests
+++ b/shell/hush_test/hush-arith/arith-ternary_nested3.tests
@@ -1,6 +1,6 @@
1exec 2>&1 1exec 2>&1
2x='@' 2x='@'
3a=2 3a=2
4# After processing nested ?:, outermost ?: should still rememeber to NOT evaluate a*=2 4# After processing nested ?:, outermost ?: should still remember to NOT evaluate a*=2
5echo 42:$((1?0?41:42:(a*=2))) 5echo 42:$((1?0?41:42:(a*=2)))
6echo "a=2:$a" 6echo "a=2:$a"