From 4f5791ebd03eaec1c7da0865a383175b05102712 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 5 May 2024 19:47:29 +0200 Subject: Adding upstream version 2:4.17.12+dfsg. Signed-off-by: Daniel Baumann --- source3/script/tests/test_success.sh | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100755 source3/script/tests/test_success.sh (limited to 'source3/script/tests/test_success.sh') diff --git a/source3/script/tests/test_success.sh b/source3/script/tests/test_success.sh new file mode 100755 index 0000000..7ba8ddb --- /dev/null +++ b/source3/script/tests/test_success.sh @@ -0,0 +1,21 @@ +#!/bin/sh +# +# Blackbox test that should simply succeed. +# +# Copyright (C) 2011 Michael Adam + +incdir=$(dirname $0)/../../../testprogs/blackbox +. $incdir/subunit.sh + +failed=0 + +test_success() +{ + true +} + +testit "success" \ + test_success || + failed=$(expr $failed + 1) + +testok $0 $failed -- cgit v1.2.3