mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
tests: cd /dev, not /home which not all systems have (re: ca2443b5
)
This commit is contained in:
parent
6701bb30de
commit
5fc9e64208
2 changed files with 3 additions and 3 deletions
|
@ -1135,7 +1135,7 @@ got=$(fn)
|
|||
# $PWD should be set correctly after cd
|
||||
exp="$PWD
|
||||
$PWD"
|
||||
got=$(echo $PWD; PWD=/tmp cd /home; echo $PWD)
|
||||
got=$(echo $PWD; PWD=/tmp cd /dev; echo $PWD)
|
||||
[[ $got == "$exp" ]] ||
|
||||
err_exit "PWD is incorrect after cd" \
|
||||
"(expected $(printf %q "$exp"), got $(printf %q "$got"))"
|
||||
|
|
|
@ -428,8 +428,8 @@ do cd /tmp
|
|||
OLDPWD=/bar
|
||||
cd /bin
|
||||
cd /usr
|
||||
cd /home
|
||||
cd /home
|
||||
cd /dev
|
||||
cd /dev
|
||||
cd - > /dev/null
|
||||
unset OLDPWD PWD
|
||||
cd /bin
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue