summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBjörn Jacke <bj@sernet.de>2010-12-02 10:18:39 +0100
committerBjoern Jacke <bj@sernet.de>2010-12-02 10:36:06 +0100
commite8f9ee64a71d788a8ed1e1d7d5715f248c4fa107 (patch)
treec2753a43450a958c78fcd27f3abceb66e8dadf01 /lib
parent9329d0a91ed07178bc9117a675a0e2a5cd99ae19 (diff)
downloadsamba-e8f9ee64a71d788a8ed1e1d7d5715f248c4fa107.tar.gz
samba-e8f9ee64a71d788a8ed1e1d7d5715f248c4fa107.tar.bz2
samba-e8f9ee64a71d788a8ed1e1d7d5715f248c4fa107.zip
fix ѕome == to correct shell test in commented stuff
Diffstat (limited to 'lib')
-rwxr-xr-xlib/dnspython/examples/ddns.py2
-rw-r--r--lib/subunit/shell/README2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/dnspython/examples/ddns.py b/lib/dnspython/examples/ddns.py
index 84814b73cf..27a5b932f4 100755
--- a/lib/dnspython/examples/ddns.py
+++ b/lib/dnspython/examples/ddns.py
@@ -16,7 +16,7 @@
#
# DEVICE=$1
#
-# if [ "X${DEVICE}" == "Xeth0" ]; then
+# if [ "X${DEVICE}" = "Xeth0" ]; then
# IPADDR=`LANG= LC_ALL= ifconfig ${DEVICE} | grep 'inet addr' |
# awk -F: '{ print $2 } ' | awk '{ print $1 }'`
# /usr/local/sbin/ddns.py $IPADDR
diff --git a/lib/subunit/shell/README b/lib/subunit/shell/README
index af894a2bd3..5f7cf37626 100644
--- a/lib/subunit/shell/README
+++ b/lib/subunit/shell/README
@@ -38,7 +38,7 @@ a manually written test using the bindings might look like:
subunit_start_test "test name"
# determine if test passes or fails
result=$(something)
-if [ $result == 0 ]; then
+if [ $result -eq 0 ]; then
subunit_pass_test "test name"
else
subunit_fail_test "test name" <<END