shell: typo fix in tests

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2023-06-18 18:49:00 +02:00
parent 2d06c83b87
commit b61fd8ec5a
2 changed files with 2 additions and 2 deletions

View file

@ -1,6 +1,6 @@
exec 2>&1
x='@'
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 "a=2:$a"

View file

@ -1,6 +1,6 @@
exec 2>&1
x='@'
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 "a=2:$a"