summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiuseppe Scrivano <gscrivan@redhat.com>2015-01-30 15:15:32 +0100
committerGiuseppe Scrivano <gscrivan@redhat.com>2015-01-30 15:27:36 +0100
commit10642cd7328def59c93a78f71ccd4c25a14de008 (patch)
tree5b9aa9a8f1720ea96bf61cc55e918529aed8f944
parent505ce19972fbbb9f3de1b839354990204803d67f (diff)
downloadostree-10642cd7328def59c93a78f71ccd4c25a14de008.tar.gz
Replace "==" with "=" in shell script test
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
-rw-r--r--cfg.mk1
-rwxr-xr-xtests/test-help.sh2
2 files changed, 1 insertions, 2 deletions
diff --git a/cfg.mk b/cfg.mk
index 9742bfd7..ba235868 100644
--- a/cfg.mk
+++ b/cfg.mk
@@ -22,7 +22,6 @@ local-checks-to-skip = \
sc_bindtextdomain \
sc_prohibit_empty_lines_at_EOF \
sc_prohibit_path_max_allocation \
- sc_prohibit_test_double_equal \
sc_trailing_blank \
#SHELL=bash -x
diff --git a/tests/test-help.sh b/tests/test-help.sh
index 4c1ffadd..37d9fa1d 100755
--- a/tests/test-help.sh
+++ b/tests/test-help.sh
@@ -31,7 +31,7 @@ test_recursive() {
echo "$cmd" 1>&2
$cmd --help 1>out 2>err
# --help message goes to standard output
- if [ "$root" == "1" ] ; then
+ if [ "$root" = "1" ] ; then
assert_file_has_content out "[Uu]sage"
assert_file_has_content out "$cmd"
fi