bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: coreutils inaccessible test fails on HP-UX with CVS build


From: Bob Proulx
Subject: Re: coreutils inaccessible test fails on HP-UX with CVS build
Date: Sat, 17 Jun 2006 11:20:29 -0600
User-agent: Mutt/1.5.9i

Hi Jim,

Jim Meyering wrote:
> Here's a patch to skip this test on such systems:

I think that is the best answer.  Because the behavior is known and
the best that can be done at this time.

The skip test patch worked fine for me to skip the test.  But it was
too low in the test.  The shell 'trap' is already set and subsequently
fails on the way out.

  ./inaccessible: no openat support, so skipping this test
  chmod: cannot access `inaccessible.tmp': No such file or directory
  PASS: inaccessible
  ==================
  All 1 tests passed
  ==================

If those additional lines could be moved up before the trap statement
then everything runs clean.  Doing so also fixes the cascade issue of
the test being reported as PASS instead of SKIP.  Moving that up above
the trap produces the following for me.

  ./inaccessible: no openat support, so skipping this test
  SKIP: inaccessible
  ======================
  All 0 tests passed
  (1 tests were not run)
  ======================

That change works for me.  If you would apply it I think that will fix
things up nicely for systems without openat support.

Thanks!
Bob




reply via email to

[Prev in Thread] Current Thread [Next in Thread]