mirror of
https://git.savannah.gnu.org/git/parallel.git
synced 2024-11-25 15:37:56 +00:00
parallel: Test for bug #43967: Error if there exists a bin/zsh or bin/bash dir (with zsh or bash).
This commit is contained in:
parent
38b214971e
commit
8c4f4c2b20
|
@ -953,7 +953,7 @@ sub parse_options {
|
|||
|
||||
sub init_globals {
|
||||
# Defaults:
|
||||
$Global::version = 20150109;
|
||||
$Global::version = 20150115;
|
||||
$Global::progname = 'parallel';
|
||||
$Global::infinity = 2**31;
|
||||
$Global::debug = 0;
|
||||
|
|
|
@ -65,6 +65,10 @@ echo '### --header num --round-robin'
|
|||
echo '### shebang-wrap'
|
||||
$NICEPAR -k {} {} A B C ::: ./input-files/shebang/shebangwrap.*[^~]
|
||||
|
||||
echo 'bug #43967: Error if there exists a bin/zsh or bin/bash dir (with zsh or bash).'
|
||||
mkdir -p /tmp/bash$$/bash; PATH=/tmp/bash$$:$PATH parallel echo ::: OK; rm -rf /tmp/bash$$
|
||||
|
||||
|
||||
EOF
|
||||
|
||||
rm -rf tmp
|
||||
|
|
|
@ -179,3 +179,7 @@ C
|
|||
A
|
||||
B
|
||||
C
|
||||
echo 'bug #43967: Error if there exists a bin/zsh or bin/bash dir (with zsh or bash).'
|
||||
bug #43967: Error if there exists a bin/zsh or bin/bash dir (with zsh or bash).
|
||||
mkdir -p /tmp/bash$$/bash; PATH=/tmp/bash$$:$PATH parallel echo ::: OK; rm -rf /tmp/bash$$
|
||||
OK
|
||||
|
|
Loading…
Reference in a new issue