help-bash
[Top][All Lists]
Advanced

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

[Help-bash] How to run tests/?


From: Peng Yu
Subject: [Help-bash] How to run tests/?
Date: Tue, 1 Jan 2019 22:44:17 -0600

I got the following errors when I try tests/ in the bash source code.
Is it because my sh is just bash? Since I don't have a bare sh, how to
run tests/?

$ which sh
$ sh --version
GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin17)
Copyright (C) 2007 Free Software Foundation, Inc.

$ sh run-all
run-all: line 7: -c: command not found
declare -r SHELLOPTS="braceexpand:hashall:interactive-comments"
Testing ../bash
version: 5.0.0(1)-rc1
versinfo: 5 0 0 1 rc1 x86_64-apple-darwin17.7.0
HOSTTYPE = x86_64
OSTYPE = darwin17.7.0
MACHTYPE = x86_64-apple-darwin17.7.0
Any output from any test, unless otherwise noted, indicates a possible anomaly
run-alias
run-appendop
run-arith
run-arith-for
run-array
warning: all of these tests will fail if arrays have not
warning: been compiled into the shell
warning: the BASH_ARGC and BASH_ARGV tests will fail if debugging support
warning: has not been compiled into the shell
112,118c112,118
< ./array.tests: line 184: recho: command not found
< ./array.tests: line 185: recho: command not found
< ./array.tests: line 186: recho: command not found
< ./array.tests: line 187: recho: command not found
< ./array.tests: line 191: zecho: command not found
< ./array.tests: line 192: zecho: command not found
< ./array.tests: line 193: zecho: command not found
...

-- 
Regards,
Peng



reply via email to

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