Bruno Haible wrote: >> On HP-UX 11.31: >> 2 of 362 tests failed
Thanks again! > FAIL: rm/deep-2 I'd like to debug this one (the problem may be in fts.c, which I've changed very recently), but I don't have access to a single HP-UX system. fts.c seems to be getting into the mode whereby it uses full-relative names rather than safe-cwd functions. I'm guessing that this is happening because HPUX is relatively unusual not to have *at function support (neither direct nor emulatable). > FAIL: misc/printf-surprise > > Find tests/test-suite.log attached. FAIL: misc/printf-surprise (exit: 1) ==================================== ... + err_msg='printf: write error: Not enough space:' + case $err_msg in + diagnostic=unexpected ++ wc -c + n_out=0 + case $n_out:$diagnostic:$exit in + fail=1 At least the above appears easy to work around. The test expected precisely "printf: write error:", yet got 'printf: write error: Not enough space:'. >From 2974775b9020b8fb51e11af108e1275673590370 Mon Sep 17 00:00:00 2001 From: Jim Meyering <[email protected]> Date: Thu, 1 Sep 2011 14:45:51 +0200 Subject: [PATCH] tests: printf-surprise: avoid false-positive failure * tests/misc/printf-surprise: Also accept a strerror-style string after the usual 'printf: write error:' diagnostic prefix. Otherwise, this test would fail on HP-UX 11. Reported by Bruno Haible. --- tests/misc/printf-surprise | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/tests/misc/printf-surprise b/tests/misc/printf-surprise index ca0f8e4..8c993fd 100755 --- a/tests/misc/printf-surprise +++ b/tests/misc/printf-surprise @@ -67,7 +67,7 @@ err_msg=$(cat err-msg|tr '\n' :) # containing '1> fifo:printf: write error:'. Recognize that, too. case $err_msg in - "$prog: write error:") diagnostic=y ;; + "$prog: write error:"*) diagnostic=y ;; "1> fifo:$prog: write error:") diagnostic=y ;; '') diagnostic=n ;; *) diagnostic=unexpected ;; -- 1.7.7.rc0.362.g5a14
