[ostree] Replace "==" with "=" in shell script test
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ostree] Replace "==" with "=" in shell script test
- Date: Fri, 30 Jan 2015 15:16:25 +0000 (UTC)
commit 10642cd7328def59c93a78f71ccd4c25a14de008
Author: Giuseppe Scrivano <gscrivan redhat com>
Date: Fri Jan 30 15:15:32 2015 +0100
Replace "==" with "=" in shell script test
Signed-off-by: Giuseppe Scrivano <gscrivan redhat com>
cfg.mk | 1 -
tests/test-help.sh | 2 +-
2 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/cfg.mk b/cfg.mk
index 9742bfd..ba23586 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 4c1ffad..37d9fa1 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]