16 lines
498 B
Bash
16 lines
498 B
Bash
$NetBSD: patch-source3_script_tests_test__smbclient__s3.sh,v 1.2 2015/12/13 08:48:36 wiz Exp $
|
|
|
|
Fix unportable test(1) comparison operator.
|
|
|
|
--- source3/script/tests/test_smbclient_s3.sh.orig 2015-07-21 09:47:49.000000000 +0000
|
|
+++ source3/script/tests/test_smbclient_s3.sh
|
|
@@ -889,7 +889,7 @@ EOF
|
|
|
|
echo "$out" | grep 'NT_STATUS'
|
|
ret=$?
|
|
- if [ $ret == 0 ] ; then
|
|
+ if [ $ret = 0 ] ; then
|
|
echo "$out"
|
|
echo "failed - NT_STATUS_XXXX listing \\manglenames_share\\FF4GBY~Q"
|
|
false
|