summaryrefslogtreecommitdiff
path: root/testsuite/.gitignore
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2017-06-07 12:05:19 +0300
committerSergey Poznyakoff <gray@gnu.org.ua>2017-06-07 13:06:17 +0300
commit453cd17f7a4be5ceaa8411a8a3ebd9fddd88df8e (patch)
tree3c919d804a8df24c01bc26854bcec4e0c5db21b6 /testsuite/.gitignore
parent491bec23a77b19df8b9c0442696ce57e3fc5c604 (diff)
downloadmailutils-453cd17f7a4be5ceaa8411a8a3ebd9fddd88df8e.tar.gz
mailutils-453cd17f7a4be5ceaa8411a8a3ebd9fddd88df8e.tar.bz2
Fix tests when logical and physical CWD differ
MH testsuite produced false negatives when run in a directory accessed by its logical name (symlink). To fix this, avoiding at the same time the use of non-portable "pwd -P" & "pwd -L", this commit adds a filter utility that replaces both logical and physical cwd with a dot on output. The MH testsuite is updated to use this utility. * testsuite/cwdrepl.c: New utility * testsuite/Makefile.am: Build cwdrepl * testsuite/.gitignore: Update. * testsuite/cwdrepl.at: New test. * testsuite/testsuite.at: Include new test. * mh/tests/atlocal.in (PATH): Add testsuite (remove_curdir): Remove function. * mh/tests/comp.at: Use cwdrepl, fix expected output. * mh/tests/forw.at: Likewise. * mh/tests/mhn.at: Likewise. * mh/tests/mhpath.at: Likewise. * mh/tests/repl.at: Likewise.
Diffstat (limited to 'testsuite/.gitignore')
-rw-r--r--testsuite/.gitignore1
1 files changed, 1 insertions, 0 deletions
diff --git a/testsuite/.gitignore b/testsuite/.gitignore
index 60475e825..d58c1e299 100644
--- a/testsuite/.gitignore
+++ b/testsuite/.gitignore
@@ -1,6 +1,7 @@
atconfig
atlocal
bs
+cwdrepl
fldel
lstuid
package.m4

Return to:

Send suggestions and report system problems to the System administrator.