summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaushal M <kaushal@redhat.com>2013-02-19 10:55:50 +0530
committerVijay Bellur <vbellur@redhat.com>2013-03-04 23:55:43 -0800
commit09ebc7087b0ebcfbb6346fdcc31599c926ac3e2a (patch)
tree410b4592a35154fef3488dd85650c6c8513745e6
parentb24003342eb707027982599a7bac485fe3b9f465 (diff)
tests: Add spaces around '=' in a string comparision in TEST primitive
BUG: 764966 Change-Id: I2da197bdddb4a4d098ebb044410e21ced4dbd806 Signed-off-by: Kaushal M <kaushal@redhat.com> Reviewed-on: http://review.gluster.org/4618 Reviewed-by: Jeff Darcy <jdarcy@redhat.com> Tested-by: Gluster Build System <jenkins@build.gluster.com>
-rw-r--r--tests/include.rc2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/include.rc b/tests/include.rc
index 5d9c96cea..938207e58 100644
--- a/tests/include.rc
+++ b/tests/include.rc
@@ -102,7 +102,7 @@ function _TEST()
test_header "$@";
- if [ "$1"="!" ]; then
+ if [ "$1" = "!" ]; then
redirect="2>&1"
fi