aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMu Qiao <qiaomuf@gentoo.org>2012-02-23 11:24:05 +0800
committerMu Qiao <qiaomuf@gentoo.org>2012-02-23 11:27:12 +0800
commitb921511820ee4116b4f1f2746bb90e6b859ae1c8 (patch)
tree28a5cf7bbccd7f93c8e9b1888e6e7bd3bc2a830b /scripts
parentBuild: add more information to libbash.pc.in (diff)
downloadlibbash-b921511820ee4116b4f1f2746bb90e6b859ae1c8.tar.gz
libbash-b921511820ee4116b4f1f2746bb90e6b859ae1c8.tar.bz2
libbash-b921511820ee4116b4f1f2746bb90e6b859ae1c8.zip
Parser: respect operator precedence in keyword test
Diffstat (limited to 'scripts')
-rw-r--r--scripts/test_expr.bash1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/test_expr.bash b/scripts/test_expr.bash
index 66ab24a..ccedb76 100644
--- a/scripts/test_expr.bash
+++ b/scripts/test_expr.bash
@@ -54,3 +54,4 @@ unset i
[ abc = bcd -a abc = abc ] || echo true19
[[ =a <=b ]]
[[ =a >=b ]]
+[[ a == a || c == b && a == b ]] && echo true