summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorKaushal M <kaushal@redhat.com>2013-02-19 10:55:50 +0530
committerAnand Avati <avati@redhat.com>2013-02-18 22:01:45 -0800
commit81dceec250c9b2f5b87650e28e736e04c4b8597e (patch)
treea472a2180adc1c39e5e1311fd201a733345fa81e /tests
parent59ac567c8b5ebf20b573ecf250e13f841e817dbd (diff)
tests: Add spaces around '=' in a string comparision in TEST primitive
Change-Id: I0402949c8cd88cc93e073a7c8ae60b5ff4497ad2 BUG: 764966 Signed-off-by: Kaushal M <kaushal@redhat.com> Reviewed-on: http://review.gluster.org/4538 Reviewed-by: Krishnan Parthasarathi <kparthas@redhat.com> Tested-by: Gluster Build System <jenkins@build.gluster.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/include.rc2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/include.rc b/tests/include.rc
index 5d9c96ce..938207e5 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