bug-coreutils
[Top][All Lists]
Advanced

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

Re: Fwd: buildbot failure in i686-gnu-linux-full


From: Jim Meyering
Subject: Re: Fwd: buildbot failure in i686-gnu-linux-full
Date: Sat, 25 Oct 2008 22:55:43 +0200

Bob Proulx <address@hidden> wrote:
> gcc -std=gnu99  -g -O2  -Wl,--as-needed -o factor factor.o libver.a
> ../lib/libcoreutils.a  ../lib/libcoreutils.a
> factor.o: In function `print_factors':
> ../../src/factor.c:451: undefined reference to `debug'
> collect2: ld returned 1 exit status
> make[3]: *** [factor] Error 1

Thanks, Bob!
Here's the fix I've just pushed:

>From 407e8f0fdd74b04a266dafa01ca896779f7706a1 Mon Sep 17 00:00:00 2001
From: Jim Meyering <address@hidden>
Date: Sat, 25 Oct 2008 16:30:54 +0200
Subject: [PATCH] tests: df/total: don't fail for an inaccessible mount point

* tests/df/total: Ignore nonzero exit status from df.
---
 tests/df/total |    7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/tests/df/total b/tests/df/total
index 6d82663..66769dc 100755
--- a/tests/df/total
+++ b/tests/df/total
@@ -30,11 +30,8 @@ umask 22

 RE_TOTAL='^total( +(-?[0-9]+|-)){3} +-?[0-9]+%$'

-df > tmp || fail=1
-$EGREP "$RE_TOTAL" tmp && fail=1
-
-df -i > tmp || fail=1
-$EGREP "$RE_TOTAL" tmp && fail=1
+df    | $EGREP "$RE_TOTAL" && fail=1
+df -i | $EGREP "$RE_TOTAL" && fail=1

 df --total | $EGREP "$RE_TOTAL" || fail=1
 df -i --total | $EGREP "$RE_TOTAL" || fail=1
--
1.6.0.3.517.g759a




reply via email to

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