From 03a08a4cd0540cd6b018c5c9f602a1d25847ba62 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 8 Sep 2007 12:26:55 +0200 Subject: Convert tests/misc/ to use test-lib.sh, too. --- tests/misc/nice | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'tests/misc/nice') diff --git a/tests/misc/nice b/tests/misc/nice index ba6ce1c00..6b063daa2 100755 --- a/tests/misc/nice +++ b/tests/misc/nice @@ -1,7 +1,7 @@ #! /bin/sh # Test "nice". -# Copyright (C) 2002, 2003, 2005, 2006 Free Software Foundation, Inc. +# Copyright (C) 2002, 2003, 2005-2007 Free Software Foundation, Inc. # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -16,13 +16,13 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -# This script takes no arguments. - -if test -n "$DJDIR"; then - echo "$0: cannot test nice on DJGPP" >&2 - exit 77 +if test "$VERBOSE" = yes; then + set -x + nice --version fi +. $srcdir/../test-lib.sh + tests=' 0 empty 10 1 -1 1 -- cgit v1.2.3-54-g00ecf