bug-bash
[Top][All Lists]
Advanced

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

bash (2.05a) builtin 'test -d' reports parent of root is a directory


From: Karl Botts
Subject: bash (2.05a) builtin 'test -d' reports parent of root is a directory
Date: Sat, 9 Mar 2002 03:53:17 -0600

Configuration Information [Automatically generated, do not change]:
Machine: i686
OS: cygwin
Compiler: i686-pc-cygwin-gcc
Compilation
CFLAGS:  -DPROGRAM='bash.exe' -DCONF_HOSTTYPE='i686' -DCONF_OSTYPE='cygwin' 
-DCONF_MACHTYPE='i686-pc-cygwin' -DCONF_VENDOR='pc' -DSHELL -DHAVE_CONFIG_H 
  -I.  -I../bash-2.05a -I../bash-2.05a/include -I../bash-2.05a/lib -g -O2
uname output: CYGWIN_NT-5.1 MELA 1.3.10(0.51/3/2) 2002-02-25 11:14 i686
unknown
Machine Type: i686-pc-cygwin

Bash Version: 2.05a
Patch Level: 0
Release Status: release

Description:
        At the bash command prompt:
                cd c:/
                test -d ..
        returns 0.  I think this is wrong.
        /bin/test behaves the same.
        Also:
                cd /
                test -d ..
        returns 0.  Under Cygwin, this is debatable.  I dunno...
        Note also that:
                cd c:/
                cd ..
        returns 0, but the last cd did nothing.  Doesn't seem right.

Repeat-By:
        See description.

Fix:

---
Karl Botts, kdbotts@usa.net





reply via email to

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