[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[FYI] {maint} tests: work in VPATH setup again
From: |
Stefano Lattarini |
Subject: |
[FYI] {maint} tests: work in VPATH setup again |
Date: |
Fri, 22 Jun 2012 15:28:23 +0200 |
* defs: Drop overly paranoid sanity checks that was causing all the tests
to fail spuriously when run in a VPATH setup, with a message like:
"../t/nodef.sh: ./t/ax/test-init.sh: not found in current directory".
Those checks looked for invariants that, even if broken, would still
cause the test to fail very early and with a pretty clear error message
anyway.
Signed-off-by: Stefano Lattarini <address@hidden>
---
defs | 8 --------
1 file changed, 8 deletions(-)
diff --git a/defs b/defs
index 559eea0..a47a541 100644
--- a/defs
+++ b/defs
@@ -20,14 +20,6 @@
# might be just a Bourne shell, non POSIX-conforming, like on Solaris
# up to version 11 at least).
-# Ensure we are running from the right directory.
-for f in defs-static t/ax/test-init.sh; do
- if test ! -f ./$f; then
- echo "$0: ./$f: not found in current directory" >&2
- exit 99
- fi
-done
-
# Source the shell static setup and variable definitions.
. ./defs-static
test $? -eq 0 || exit 99
--
1.7.9.5
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [FYI] {maint} tests: work in VPATH setup again,
Stefano Lattarini <=