bug-bash
[Top][All Lists]
Advanced

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

bash 3.0 test failures


From: Paul Jarc
Subject: bash 3.0 test failures
Date: Wed, 28 Jul 2004 00:36:42 -0400
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (gnu/linux)

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' -DLOCALEDIR='/package/misc/spf/bash-3.0/share/locale' 
-DPACKAGE='bash' -DSHELL -DHAVE_CONFIG_H  -I. 
-I/package/misc/spf/bash-3.0/spf/readline/include -I. -I./include -I./lib  
-I/nil -I/package/misc/spf/bash-3.0/spf/readline/include 
-I/package/misc/spf/bash-3.0/spf/ncurses/include -O2 -pipe
uname output: Linux teletran-1.cwru.edu 2.6.7 #1 Wed Jul 21 00:35:49 EDT 2004 
i686 unknown unknown GNU/Linux
Machine Type: i686-pc-linux-gnu

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

I didn't compile out the history facilities...

run-histexpand
warning: all of these tests will fail if history has not been compiled
warning: into the shell
1c1
< ./histexp.tests: line 19: history: !!: history expansion failed
---
> echo $BASH_VERSION
3,4c3,12
<     1  HISTFILE=/tmp/newhistory
<     2  echo line 2 for history
---
>     1  for i in one two three; do echo $i; done
>     2  /bin/sh -c 'echo this is $0'
>     3  ls
>     4  echo $BASH_VERSION
>     1  for i in one two three; do echo $i; done
>     2  /bin/sh -c 'echo this is $0'
>     3  ls
>     4  echo $BASH_VERSION
>     5  HISTFILE=/tmp/newhistory
>     6  echo line 2 for history
10,13c18,25
<     1  HISTFILE=/tmp/newhistory
<     2  echo line 2 for history
<     3  set -H
<     4  echo line 2 for history
---
>     1  for i in one two three; do echo $i; done
>     2  /bin/sh -c 'echo this is $0'
>     3  ls
>     4  echo $BASH_VERSION
>     5  HISTFILE=/tmp/newhistory
>     6  echo line 2 for history
>     7  set -H
>     8  echo line 2 for history
21,26c33,38
< echo line 2 for history
< line 2 for history
< echo echo
< echo
< echo echo
< echo
---
> /bin/sh -c 'echo this is $0'
> this is /bin/sh
> echo sh
> sh
> echo /bin
> /bin
79,84c91
<     2  echo line 2 for history
<     3  set -H
<     4  echo line 2 for history
<     5  echo a b c d e
<     6  echo line 2 for history
<     7  echo line 8 for history
---
>     7  set -H
86,110c93,122
<     9  echo echo
<    10  echo e
<    11  echo a b c d e
<    12  echo b c d e
<    13  echo b c d
<    14  echo d e
<    15  echo b c d
<    16  echo file.c
<    17  echo file
<    18  echo .c
<    19  echo 'file'
<    20  echo $file.c
<    21  echo $file
<    22  echo .c
<    23  echo '$file'
<    24  echo a b c d e
<    25  echo 'a' 'b' 'c' 'd' 'e'
<    26  echo 'a b c d e'
<    27  echo foo.c foo.o foo.html foo.h
<    28  echo bar.c foo.o foo.html foo.h
<    29  echo bar.c bar.o bar.html bar.h
<    30  echo xbar.c xbar.o xbar.html xbar.h
<    31  echo xwhix.c xwhix.o xwhix.html xwhix.h
<    32  echo 'xwhix'
<    33  echo 'xwhix.h'
---
>     9  echo a b c d e
>    10  echo line 2 for history
>    11  echo line 8 for history
>    12  /bin/sh -c 'echo this is $0'
>    13  echo sh
>    14  echo /bin
>    15  echo e
>    16  echo a b c d e
>    17  echo b c d e
>    18  echo b c d
>    19  echo d e
>    20  echo b c d
>    21  echo file.c
>    22  echo file
>    23  echo .c
>    24  echo 'file'
>    25  echo $file.c
>    26  echo $file
>    27  echo .c
>    28  echo '$file'
>    29  echo a b c d e
>    30  echo 'a' 'b' 'c' 'd' 'e'
>    31  echo 'a b c d e'
>    32  echo foo.c foo.o foo.html foo.h
>    33  echo bar.c foo.o foo.html foo.h
>    34  echo bar.c bar.o bar.html bar.h
>    35  echo xbar.c xbar.o xbar.html xbar.h
>    36  echo xwhix.c xwhix.o xwhix.html xwhix.h
>    37  echo 'xwhix'
>    38  echo 'xwhix.h'

run-history
warning: all of these tests will fail if history has not been compiled
warning: into the shell
6c6,30
<     1  echo line for history
---
>     1  for i in one two three; do echo $i; done
>     2  /bin/sh -c 'echo this is $0'
>     3  ls
>     4  echo $BASH_VERSION
> 1      for i in one two three; do echo $i; done
> 2      /bin/sh -c 'echo this is $0'
> 3      ls
> 4      echo $BASH_VERSION
>        for i in one two three; do echo $i; done
>        /bin/sh -c 'echo this is $0'
>        ls
>        echo $BASH_VERSION
> 4      echo $BASH_VERSION
> 3      ls
> 2      /bin/sh -c 'echo this is $0'
> 1      for i in one two three; do echo $i; done
>        echo $BASH_VERSION
>        ls
>        /bin/sh -c 'echo this is $0'
>        for i in one two three; do echo $i; done
>     1  for i in one two three; do echo $i; done
>     2  /bin/sh -c 'echo this is $0'
>     3  ls
>     4  echo $BASH_VERSION
>     5  echo line for history
7a32,35
>        for i in one two three; do echo $i; done
>        /bin/sh -c 'echo this is $0'
>        ls
>        echo $BASH_VERSION
10,14c38,51
< cat: /tmp/newhistory: No such file or directory
<     1  echo line for history
<     2  HISTFILE=/tmp/newhistory
<     3  echo displaying \$HISTFILE after history -a
<     4  cat $HISTFILE
---
> echo line for history
> HISTFILE=/tmp/newhistory
>     1  for i in one two three; do echo $i; done
>     2  /bin/sh -c 'echo this is $0'
>     3  ls
>     4  echo $BASH_VERSION
>     5  echo line for history
>     6  HISTFILE=/tmp/newhistory
>     7  echo displaying \$HISTFILE after history -a
>     8  cat $HISTFILE
> for i in one two three; do echo $i; done
> /bin/sh -c 'echo this is $0'
> ls
> echo $BASH_VERSION
19,23c56,64
<     1  echo line for history
<     2  HISTFILE=/tmp/newhistory
<     3  echo displaying \$HISTFILE after history -a
<     4  cat $HISTFILE
<     5  echo line 2 for history
---
>     1  for i in one two three; do echo $i; done
>     2  /bin/sh -c 'echo this is $0'
>     3  ls
>     4  echo $BASH_VERSION
>     5  echo line for history
>     6  HISTFILE=/tmp/newhistory
>     7  echo displaying \$HISTFILE after history -a
>     8  cat $HISTFILE
>     9  echo line 2 for history
26,32c67,77
<     1  echo line for history
<     2  HISTFILE=/tmp/newhistory
<     3  echo displaying \$HISTFILE after history -a
<     4  cat $HISTFILE
<     5  echo line 2 for history
<     6  # this should show up as one history entry
<     7  for x in one two three; do     :; done
---
>     1  for i in one two three; do echo $i; done
>     2  /bin/sh -c 'echo this is $0'
>     3  ls
>     4  echo $BASH_VERSION
>     5  echo line for history
>     6  HISTFILE=/tmp/newhistory
>     7  echo displaying \$HISTFILE after history -a
>     8  cat $HISTFILE
>     9  echo line 2 for history
>    10  # this should show up as one history entry
>    11  for x in one two three; do     :; done
36,50c81,99
< 4      cat $HISTFILE
< 5      echo line 2 for history
< 6      # this should show up as one history entry
< 7      for x in one two three; do     :; done
< 8      # just a basic test.  a full test suite for history expansion should be
< 9      # created
< 10     set -H
< 11     echo line 2 for history
< 12     unset HISTSIZE
< 13     unset HISTFILE
< 4      cat $HISTFILE
< 5      echo line 2 for history
< 6      # this should show up as one history entry
< 7      for x in one two three; do     :; done
< 8      # just a basic test.  a full test suite for history expansion should be
---
> 4      echo $BASH_VERSION
> 5      echo line for history
> 6      HISTFILE=/tmp/newhistory
> 7      echo displaying \$HISTFILE after history -a
> 8      cat $HISTFILE
> 9      echo line 2 for history
> 10     # this should show up as one history entry
> 11     for x in one two three; do     :; done
> 12     # just a basic test.  a full test suite for history expansion should be
> 13     # created
> 14     set -H
> 15     echo line 2 for history
> 16     unset HISTSIZE
> 17     unset HISTFILE
> 4      echo $BASH_VERSION
> 5      echo line for history
> 6      HISTFILE=/tmp/newhistory
> 7      echo displaying \$HISTFILE after history -a
> 8      cat $HISTFILE
52,55c101,104
<    10  set -H
<    11  echo line 2 for history
<    12  unset HISTSIZE
<    13  unset HISTFILE
---
>    14  set -H
>    15  echo line 2 for history
>    16  unset HISTSIZE
>    17  unset HISTFILE




reply via email to

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