Skip to content

Commit

Permalink
tests/builtins.sh: tweak for HP-UX
Browse files Browse the repository at this point in the history
  • Loading branch information
McDutchie committed Jan 12, 2021
1 parent 4d5e21d commit 649f4b0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/cmd/ksh93/tests/builtins.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 649f4b0

Please sign in to comment.