git.samba.org
/
bbaumbach
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a2aa13d
)
Fix posix_unlink test. Was doing grep without quotes around the
author
Jeremy Allison
<jra@samba.org>
Sun, 18 Oct 2009 03:46:22 +0000
(20:46 -0700)
committer
Jeremy Allison
<jra@samba.org>
Sun, 18 Oct 2009 03:46:22 +0000
(20:46 -0700)
target string.
Jeremy.
source3/script/tests/test_smbclient_s3.sh
patch
|
blob
|
history
diff --git
a/source3/script/tests/test_smbclient_s3.sh
b/source3/script/tests/test_smbclient_s3.sh
index 3ff9597ceb7e2a8559bc71f91e4520d804162b27..ff5022015f89fa9c31f5183aa00caa5cb10b1a7d 100755
(executable)
--- a/
source3/script/tests/test_smbclient_s3.sh
+++ b/
source3/script/tests/test_smbclient_s3.sh
@@
-113,14
+113,15
@@
EOF
return
fi
- echo "$out" | grep
$prompt
>/dev/null 2>&1
+ echo "$out" | grep
"$prompt"
>/dev/null 2>&1
- if [ $? = 0 ] ; then
+ ret=$?
+ if [ $ret = 0 ] ; then
# got the correct prompt .. succeed
true
else
echo "$out"
- echo
failed create then delete bad symlink
+ echo
"failed create then delete bad symlink - grep failed with $ret"
false
fi
}