[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] tests: don't use lang-default from individual tests
From: |
Jim Meyering |
Subject: |
[PATCH] tests: don't use lang-default from individual tests |
Date: |
Tue, 31 Mar 2009 11:14:44 +0200 |
The sample-test script recommended (via a comment) something it shouldn't.
This also fixes the two test scripts that took the recommendation.
>From eeeccb3d0f1481877551c55ddc4a7263e6bc3f48 Mon Sep 17 00:00:00 2001
From: Jim Meyering <address@hidden>
Date: Sun, 29 Mar 2009 19:54:14 +0200
Subject: [PATCH] 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.
---
tests/dd/reblock | 3 +--
tests/misc/truncate-fail-diag | 3 +--
tests/sample-test | 1 -
3 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/tests/dd/reblock b/tests/dd/reblock
index 7631acc..5d6e95b 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 39091d9..7472c2e 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 85e3f2b..aea6a1a 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_
--
1.6.2.rc1.285.gc5f54
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [PATCH] tests: don't use lang-default from individual tests,
Jim Meyering <=