From 013ac99a9dce268dcc46bccb8754aacced931157 Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Thu, 25 Aug 2005 17:15:23 +0000 Subject: r9618: adding get/put tests from Don Watson (This used to be commit a94de276aec174bc05406ff52568e9fcd05c114e) --- source3/script/tests/functions | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'source3/script/tests/functions') diff --git a/source3/script/tests/functions b/source3/script/tests/functions index 13139f6d8f..0981d9e29e 100644 --- a/source3/script/tests/functions +++ b/source3/script/tests/functions @@ -43,9 +43,18 @@ stop_smbd() fi } +check_ret_value() +{ + ret=$@ + + if test $ret != 0; then + stop_smbd + exit $ret + fi +} ## -## start/stop smbd daemon +## start/stop nmbd daemon ## check_nmbd_running() { -- cgit