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.
This commit is contained in:
Jim Meyering
2009-03-29 19:54:14 +02:00
parent 6fa5f12107
commit eeeccb3d0f
3 changed files with 2 additions and 5 deletions

View File

@@ -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

View File

@@ -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_

View 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_