diff options
author | Jim Meyering <jim@meyering.net> | 2007-09-08 12:26:55 +0200 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2007-09-15 08:40:38 +0200 |
commit | 03a08a4cd0540cd6b018c5c9f602a1d25847ba62 (patch) | |
tree | 4c26a5e5aebb07fb2c35c39d51768a628a2cefa2 /tests/misc/nice | |
parent | 28f1844cefb2decc05858fdf8cc62a9ef63a9a31 (diff) | |
download | coreutils-03a08a4cd0540cd6b018c5c9f602a1d25847ba62.tar.xz |
Convert tests/misc/ to use test-lib.sh, too.
Diffstat (limited to 'tests/misc/nice')
-rwxr-xr-x | tests/misc/nice | 12 |
1 files changed, 6 insertions, 6 deletions
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 <http://www.gnu.org/licenses/>. -# 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 |