summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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