[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

'./testsuite -C -' can succeed

From: Ralf Wildenhues
Subject: './testsuite -C -' can succeed
Date: Mon, 3 Mar 2008 23:30:13 +0100
User-agent: Mutt/1.5.17+20080114 (2008-01-14)

Hi Eric,

On AIX 5.3, I experienced one testsuite failure because
  ./micro-suite -C -

actually succeeded, due to OLDPWD being inherited from the parent shell.
OK to just omit this test, or do you prefer that we diagnose an argument
of '-'?


2008-03-03  Ralf Wildenhues  <address@hidden>

        * tests/ (Choosing where testsuite is run): Do not
        test `./micro-suite -C -' which can succeed with AIX 5.3 sh.

diff --git a/tests/ b/tests/
index 78d8a8a..4224d79 100644
--- a/tests/
+++ b/tests/
@@ -459,7 +459,6 @@ AT_CHECK([test -f sub2/micro-suite.dir], [1])
 dnl check for failure detection with bad, missing, or empty directory.
 AT_CHECK([$CONFIG_SHELL ./micro-suite -C nonesuch], [1], [ignore], [ignore])
 AT_CHECK([$CONFIG_SHELL ./micro-suite -C ''], [1], [ignore], [ignore])
-AT_CHECK([$CONFIG_SHELL ./micro-suite -C -], [1], [ignore], [ignore])
 AT_CHECK([$CONFIG_SHELL ./micro-suite -C], [1], [ignore], [ignore])
 dnl check that --help overrides bad directory selection.
 AT_CHECK([$CONFIG_SHELL ./micro-suite -C nonesuch --help], [0], [ignore], [])

reply via email to

[Prev in Thread] Current Thread [Next in Thread]