Replace "==" with "=" in shell script test
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
This commit is contained in:
1 parent
505ce19972
commit
10642cd732
2 files changed
+1
-2
No files matched your search
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user