r9776: r11609@blu: tridge | 2005-08-30 12:20:11 +1000
authorAndrew Tridgell <tridge@samba.org>
Tue, 30 Aug 2005 02:15:52 +0000 (02:15 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:35:00 +0000 (13:35 -0500)
 make the selftest script a bit less existential

source/script/tests/test_functions.sh

index 3a206f9582ca14e1e54c40f8a92c5f63ed4544d2..ddf81a1610fd01a2b385c578da7120e05d8f45bc 100755 (executable)
@@ -26,11 +26,11 @@ smbd_check_or_start() {
                                rm -f $SOCKET_WRAPPER_DIR/*
                        fi
                        if [ x"$ret" = x"0" ];then
                                rm -f $SOCKET_WRAPPER_DIR/*
                        fi
                        if [ x"$ret" = x"0" ];then
-                               echo "smbd exists with status $ret";
-                               echo "smbd exists with status $ret" >>$SMBD_TEST_LOG;
+                               echo "smbd exits with status $ret";
+                               echo "smbd exits with status $ret" >>$SMBD_TEST_LOG;
                        elif [ x"$ret" = x"137" ];then
                        elif [ x"$ret" = x"137" ];then
-                               echo "smbd got SIGXCPU and exists with status $ret!"
-                               echo "smbd got SIGXCPU and exists with status $ret!">>$SMBD_TEST_LOG;
+                               echo "smbd got SIGXCPU and exits with status $ret!"
+                               echo "smbd got SIGXCPU and exits with status $ret!">>$SMBD_TEST_LOG;
                        else
                                echo "smbd failed with status $ret!"
                                echo "smbd failed with status $ret!">>$SMBD_TEST_LOG;
                        else
                                echo "smbd failed with status $ret!"
                                echo "smbd failed with status $ret!">>$SMBD_TEST_LOG;