check: remove unnecessary double quotation for $PATHSEP

modified:   check.t
This commit is contained in:
KO Myung-Hun
2015-08-16 01:37:21 +09:00
parent df20ee1fff
commit 7668f92e05

20
check.t
View File

@ -5557,7 +5557,7 @@ description:
stdin:
print '#!'"$__progname"'\nunset RANDOM\nexport | while IFS= read -r' \
'RANDOM; do eval '\''print -r -- "$RANDOM=$'\''"$RANDOM"'\'\"\'\; \
done >env; chmod +x env; PATH=".$PATHSEP$PATH"
done >env; chmod +x env; PATH=.$PATHSEP$PATH
foo=bar
readonly foo
foo=stuff env | grep '^foo'
@ -6263,7 +6263,7 @@ description:
stdin:
print '#!'"$__progname"'\nunset RANDOM\nexport | while IFS= read -r' \
'RANDOM; do eval '\''print -r -- "$RANDOM=$'\''"$RANDOM"'\'\"\'\; \
done >env; chmod +x env; PATH=".$PATHSEP$PATH"
done >env; chmod +x env; PATH=.$PATHSEP$PATH
FOO=bar exec env
expected-stdout-pattern:
/(^|.*\n)FOO=bar\n/
@ -6275,7 +6275,7 @@ description:
stdin:
print '#!'"$__progname"'\nunset RANDOM\nexport | while IFS= read -r' \
'RANDOM; do eval '\''print -r -- "$RANDOM=$'\''"$RANDOM"'\'\"\'\; \
done >env; chmod +x env; PATH=".$PATHSEP$PATH"
done >env; chmod +x env; PATH=.$PATHSEP$PATH
env >bar1
FOO=bar exec; env >bar2
cmp -s bar1 bar2
@ -6519,7 +6519,7 @@ stdin:
print '#!'"$__progname"'\nexec "$1"' >env
print '#!'"$__progname"'\nexit 1' >false
chmod +x env false
PATH=".$PATHSEP$PATH"
PATH=.$PATHSEP$PATH
set -ex
env false && echo something
echo END
@ -6537,7 +6537,7 @@ stdin:
print '#!'"$__progname"'\nexit 1' >false
print '#!'"$__progname"'\nexit 0' >true
chmod +x env false
PATH=".$PATHSEP$PATH"
PATH=.$PATHSEP$PATH
set -ex
if env true; then
env false && echo something
@ -7281,7 +7281,7 @@ stdin:
set -A anzahl -- foo/*
echo got ${#anzahl[*]} files
chmod +x foo/*
export PATH="$(pwd)/foo$PATHSEP$PATH"
export PATH=$(pwd)/foo$PATHSEP$PATH
"$__progname" -c 'fnord'
echo =
"$__progname" -c 'fnord; fnord; fnord; fnord'
@ -9972,7 +9972,7 @@ description:
FOO=bar f
where f is a ksh style function, should not set FOO in the current
env. If f is a Bourne style function, FOO should be set. Furthermore,
the function should receive a correct value of FOO. However, differing
the function should receive a correct value of FOO. However, differing
from oksh, setting FOO in the function itself must change the value in
setting FOO in the function itself should not change the value in
global environment.
@ -10144,7 +10144,7 @@ description:
echo $x
expected-stdout:
yes
---
---
name: comsub-3
description:
Extended test for COMSUB explaining why a recursive parser
@ -11379,7 +11379,7 @@ file-setup: file 755 "!false"
description:
Check that '!' substitution in noninteractive mode is ignored
file-setup: file 755 "falsetto"
#! /bin/sh
#! /bin/sh
echo molto bene
exit 42
file-setup: file 755 "!false"
@ -11409,7 +11409,7 @@ file-setup: file 755 "!false"
need-ctty: yes
arguments: !-i!
file-setup: file 755 "falsetto"
#! /bin/sh
#! /bin/sh
echo molto bene
exit 42
file-setup: file 755 "!false"