From: Jim Meyering Date: Sun, 29 Mar 2009 17:54:14 +0000 (+0200) Subject: tests: don't use lang-default from individual tests X-Git-Tag: v7.2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eeeccb3d0f1481877551c55ddc4a7263e6bc3f48;p=thirdparty%2Fcoreutils.git tests: don't use lang-default from individual tests * tests/sample-test: Don't recommend using lang-default here. It is now run for each test automatically, via TESTS_ENVIRONMENT. * tests/dd/reblock: Don't source lang-default here. * tests/misc/truncate-fail-diag: Likewise. --- diff --git a/tests/dd/reblock b/tests/dd/reblock index 7631acc192..5d6e95b1f3 100755 --- a/tests/dd/reblock +++ b/tests/dd/reblock @@ -1,7 +1,7 @@ #!/bin/sh # test dd reblocking vs. bs= -# Copyright (C) 2008 Free Software Foundation, Inc. +# Copyright (C) 2008-2009 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 @@ -21,7 +21,6 @@ if test "$VERBOSE" = yes; then dd --version fi -. $srcdir/lang-default . $srcdir/test-lib.sh # 2 short reads -> 1 full write + 1 partial write diff --git a/tests/misc/truncate-fail-diag b/tests/misc/truncate-fail-diag index 39091d9339..7472c2e7ff 100755 --- a/tests/misc/truncate-fail-diag +++ b/tests/misc/truncate-fail-diag @@ -5,7 +5,7 @@ # open ("missing/", O_CREAT & (O_WRONLY | O_RDWR), ...) -> EISDIR # open ("missing/file", O_CREAT & (O_WRONLY | O_RDWR), ...) -> ENOENT -# Copyright (C) 2008 Free Software Foundation, Inc. +# Copyright (C) 2008-2009 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 @@ -25,7 +25,6 @@ if test "$VERBOSE" = yes; then truncate --version fi -. $srcdir/lang-default . $srcdir/test-lib.sh skip_if_root_ diff --git a/tests/sample-test b/tests/sample-test index 85e3f2b346..aea6a1ac19 100644 --- a/tests/sample-test +++ b/tests/sample-test @@ -21,7 +21,6 @@ if test "$VERBOSE" = yes; then FIXME --version fi -# FIXME: . $srcdir/lang-default . $srcdir/test-lib.sh # FIXME: skip_if_root_ # FIXME: require_root_