The Samba-Bugzilla – Bug 6169
Syntax Error in runtests.sh "ssh-basic.test" script
Last modified: 2009-03-06 09:19:32 UTC
OS: SCO_SV imsprod 3.2 5.0.7 i386
Original: if ! [ "`$SSH -o'BatchM...
my change: if [ ! "`$SSH -o'BatchM...
NOT-Operator at wrong place.
Whatever shell that is is broken, because '[' is just a program name (though often a built-in these days), and the syntax, "if ! program; then ... fi" is legal. However, that "if" was a bit convoluted with a ! prior to an equality comparison, and I changed it into an inequality comparison without the prefixed "!".