From: Eric Blake Date: Fri, 1 Oct 2010 15:38:50 +0000 (-0600) Subject: maint: update sample test template X-Git-Tag: v8.6~31 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1129cb58bae34419e1b8bebbe1bb0a7ec9a9cca7;p=thirdparty%2Fcoreutils.git maint: update sample test template * tests/sample-test: Recommend modern idiom. --- diff --git a/tests/sample-test b/tests/sample-test index 85a61cf540..85b779f07c 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_