From 1129cb58bae34419e1b8bebbe1bb0a7ec9a9cca7 Mon Sep 17 00:00:00 2001 From: Eric Blake Date: Fri, 1 Oct 2010 09:38:50 -0600 Subject: maint: update sample test template * tests/sample-test: Recommend modern idiom. --- tests/sample-test | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'tests') diff --git a/tests/sample-test b/tests/sample-test index 85a61cf54..85b779f07 100644 --- a/tests/sample-test +++ b/tests/sample-test @@ -16,12 +16,7 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -if test "$VERBOSE" = yes; then - set -x - FIXME --version -fi - -. $srcdir/test-lib.sh +. "${srcdir=.}/init.sh"; path_prepend_ ../src # FIXME: skip_if_root_ # FIXME: require_root_ -- cgit v1.2.3-70-g09d2