tests: don't use lang-default from individual tests
authorJim Meyering <meyering@redhat.com>
Sun, 29 Mar 2009 17:54:14 +0000 (19:54 +0200)
committerJim Meyering <meyering@redhat.com>
Sun, 29 Mar 2009 17:54:54 +0000 (19:54 +0200)
* 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.

tests/dd/reblock
tests/misc/truncate-fail-diag
tests/sample-test

index 7631acc..5d6e95b 100755 (executable)
@@ -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
index 39091d9..7472c2e 100755 (executable)
@@ -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_
 
index 85e3f2b..aea6a1a 100644 (file)
@@ -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_