diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2010-12-09 14:51:51 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2010-12-10 03:04:06 +0100 |
commit | 91438920b465ec7455dd1cd700bbe8ec5050b3f9 (patch) | |
tree | c11b7424a81b0cf84b33132a97b98f52380b409b /lib/subunit/shell/tests/test_source_library.sh | |
parent | 297434055e2e2b28a2f9cacc09a30786edf8903a (diff) | |
download | samba-91438920b465ec7455dd1cd700bbe8ec5050b3f9.tar.gz samba-91438920b465ec7455dd1cd700bbe8ec5050b3f9.tar.bz2 samba-91438920b465ec7455dd1cd700bbe8ec5050b3f9.zip |
subunit: Update to newer upstream snapshot.
Diffstat (limited to 'lib/subunit/shell/tests/test_source_library.sh')
-rwxr-xr-x | lib/subunit/shell/tests/test_source_library.sh | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/subunit/shell/tests/test_source_library.sh b/lib/subunit/shell/tests/test_source_library.sh index 3ef6ffeb36..699f1281bc 100755 --- a/lib/subunit/shell/tests/test_source_library.sh +++ b/lib/subunit/shell/tests/test_source_library.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # subunit shell bindings. # Copyright (C) 2006 Robert Collins <robertc@robertcollins.net> # @@ -24,7 +24,7 @@ echo 'test: shell bindings can be sourced' # if any output occurs, this has failed to source cleanly source_output=$(. ${SHELL_SHARE}subunit.sh 2>&1) -if [ $? -eq 0 -a "x$source_output" = "x" ]; then +if [ $? == 0 -a "x$source_output" = "x" ]; then echo 'success: shell bindings can be sourced' else echo 'failure: shell bindings can be sourced [' @@ -40,7 +40,7 @@ fi echo 'test: subunit_start_test exists' found_type=$(type -t subunit_start_test) status=$? -if [ $status -eq 0 -a "x$found_type" = "xfunction" ]; then +if [ $status == 0 -a "x$found_type" = "xfunction" ]; then echo 'success: subunit_start_test exists' else echo 'failure: subunit_start_test exists [' @@ -54,7 +54,7 @@ fi echo 'test: subunit_pass_test exists' found_type=$(type -t subunit_pass_test) status=$? -if [ $status -eq 0 -a "x$found_type" = "xfunction" ]; then +if [ $status == 0 -a "x$found_type" = "xfunction" ]; then echo 'success: subunit_pass_test exists' else echo 'failure: subunit_pass_test exists [' @@ -68,7 +68,7 @@ fi echo 'test: subunit_fail_test exists' found_type=$(type -t subunit_fail_test) status=$? -if [ $status -eq 0 -a "x$found_type" = "xfunction" ]; then +if [ $status == 0 -a "x$found_type" = "xfunction" ]; then echo 'success: subunit_fail_test exists' else echo 'failure: subunit_fail_test exists [' @@ -82,7 +82,7 @@ fi echo 'test: subunit_error_test exists' found_type=$(type -t subunit_error_test) status=$? -if [ $status -eq 0 -a "x$found_type" = "xfunction" ]; then +if [ $status == 0 -a "x$found_type" = "xfunction" ]; then echo 'success: subunit_error_test exists' else echo 'failure: subunit_error_test exists [' @@ -96,7 +96,7 @@ fi echo 'test: subunit_skip_test exists' found_type=$(type -t subunit_skip_test) status=$? -if [ $status -eq 0 -a "x$found_type" = "xfunction" ]; then +if [ $status == 0 -a "x$found_type" = "xfunction" ]; then echo 'success: subunit_skip_test exists' else echo 'failure: subunit_skip_test exists [' |