From: Jim Meyering Date: Sat, 3 Mar 2007 20:38:16 +0000 (+0100) Subject: pwd-unreadable-parent: Skip test on ia64/Linux, too. X-Git-Tag: COREUTILS-6_9~49 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f0537a71f1e414ceb7ecaa7f872b73b401209082;p=platform%2Fupstream%2Fcoreutils.git pwd-unreadable-parent: Skip test on ia64/Linux, too. * tests/misc/pwd-unreadable-parent: Also skip when $REPLACE_GETCWD. Reported by Bob Proulx. --- diff --git a/ChangeLog b/ChangeLog index b713a69..4a92b16 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2007-03-03 Jim Meyering + + pwd-unreadable-parent: Skip test on ia64/Linux, too. + * tests/misc/pwd-unreadable-parent: Also skip when $REPLACE_GETCWD. + Reported by Bob Proulx. + 2007-03-02 Jim Meyering pwd-unreadable-parent: Skip test on non-Linux/GNU systems. diff --git a/tests/misc/pwd-unreadable-parent b/tests/misc/pwd-unreadable-parent index 801805a..72c666e 100755 --- a/tests/misc/pwd-unreadable-parent +++ b/tests/misc/pwd-unreadable-parent @@ -32,6 +32,14 @@ test $host_os != linux-gnu && (exit 77); exit 77 } +# Linux ia64 has the gl_FUNC_GETCWD_ABORT_BUG, so we can't use +# the system getcwd. +test $REPLACE_GETCWD = 1 && + { + echo 1>&2 "$0: can't use buggy system getcwd; skipping this test" + (exit 77); exit 77 + } + pwd=`pwd` t0=`echo "$0"|sed 's,.*/,,'`.tmp; tmp=$t0/$$ trap 'status=$?; cd "$pwd" && chmod -R u+rwx $t0 && rm -rf $t0 && exit $status' 0