mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-13 11:42:21 +00:00
tests/builtins.sh: tweak for HP-UX
This commit is contained in:
parent
4d5e21de80
commit
649f4b047b
1 changed files with 1 additions and 0 deletions
|
@ -822,6 +822,7 @@ actual=$(cd "$tmp" 2>&1 && cd "no_x_dir" 2>&1)
|
|||
e=$?
|
||||
[[ e -eq 1 && $actual == *"$expect" ]] || err_exit 'can cd into a directory without x permission bit (relative path arg)' \
|
||||
"(expected status 1 and msg ending in $(printf %q "$expect"), got status $e and msg $(printf %q "$actual"))"
|
||||
rmdir "$tmp/no_x_dir" # on HP-UX, 'rm -rf $tmp' won't work unless we rmdir this or fix the perms
|
||||
|
||||
# https://bugzilla.redhat.com/1133582
|
||||
expect=$HOME
|
||||
|
|
Loading…
Reference in a new issue