autoconf-patches
[Top][All Lists]
Advanced

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

Re: './testsuite -C -' can succeed


From: Eric Blake
Subject: Re: './testsuite -C -' can succeed
Date: Mon, 03 Mar 2008 19:30:23 -0700
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.12) Gecko/20080213 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Ralf Wildenhues on 3/3/2008 3:30 PM:
| 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 '-'?

But I thought we were already diagnosing an argument of `-':

# Take any -C into account.
if $at_change_dir ; then
~  if test x- = x$"at_dir" ; then
~    at_dir=./-
~  fi
~  test x != x"$at_dir" && cd "$at_dir" \
~    || AS_ERROR([unable to change directory])
~  at_dir=`pwd`
fi

Can you run (at least this portion) of micro-suite through 'sh -vx' to see
what went wrong?

- --
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHzLQ/84KuGfSFAYARAm04AJ4uYVZB/FcwrfsFS9zUJOp9qUEzNwCfR2MX
f/PLcQ2W/fFoJ+3q7OzaFzA=
=xC8w
-----END PGP SIGNATURE-----




reply via email to

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