summaryrefslogtreecommitdiff
path: root/net/samba4/patches/patch-source3_script_tests_test__smbclient__s3.sh
blob: 5aaee1cf83748155845b94fd57d68964bfe7883d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$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