]> git.ipfire.org Git - thirdparty/bash.git/blobdiff - tests/arith.tests
bash-5.0-alpha release
[thirdparty/bash.git] / tests / arith.tests
index 79ce016d523f70039ff704e89dcd8a848b9d6021..bc9490e98d686ecedab845120b7c0c27f6f0b9f7 100644 (file)
@@ -283,6 +283,9 @@ ${THIS_SH} ./arith6.sub
 # part of word expansions such as substring extraction
 ${THIS_SH} ./arith7.sub
 
+# problems with evaluation of conditional expressions
+${THIS_SH} ./arith8.sub
+
 x=4
 y=7
 
@@ -306,5 +309,10 @@ printf "%u\n" $n
 echo $(( 16#$(printf "%x\n" $n) ))
 echo $(( 16#$(printf "%X\n" $n) ))
 
+# these are errors
+foo=1
+echo $(( 'foo' ))
+
+
 # causes longjmp botches through bash-2.05b
 a[b[c]d]=e