bug-bash
[Top][All Lists]
Advanced

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

failed test with --enable-minimal-config


From: Paul Jarc
Subject: failed test with --enable-minimal-config
Date: 03 May 2001 13:01:17 -0400
User-agent: Gnus/5.090001 (Oort Gnus v0.01) Emacs/20.7

Configuration Information [Automatically generated, do not change]:
Machine: i686
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='i686' 
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i686-pc-linux-gnu' 
-DCONF_VENDOR='pc' -DSHELL -DHAVE_CONFIG_H  -D_FILE_OFFSET_BITS=64  -I.  -I. 
-I./include -I./lib -I/pkg/bash-2.05-sh/include -O2 -pipe -mpentium
uname output: Linux multivac.cwru.edu 2.4.3 #4 SMP Tue Apr 17 19:51:17 EDT 2001 
i686 unknown
Machine Type: i686-pc-linux-gnu

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

Description:
        (I've applied patches 1-4; is that supposed to show up in
        "Patch Level" above?)
        "make tests" fails:
run-more-exp
180c180
< argv[1] = <1>
---
> argv[1] = <2>
        This is the value of "${#-}".  I added 'recho "$-"' and saw
        that its value was 'h'.  The script never sets shell options;
        it seems to be relying on defaults, which are different for
        minimal-config.

Repeat-By:
        ./configure --enable-minimal-config && make && make tests

Fix:
        This seems to be a bug in the test script, not in bash.
        Depending on exactly what "${#-}" is supposed to test, you
        might set a specific set of shell options first, or test a
        different variable.



reply via email to

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