From: Jim Meyering Date: Tue, 17 Feb 2004 14:42:47 +0000 (+0000) Subject: `make check' from a build inside a chroot environment would fail X-Git-Tag: v5.2.0~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4852e78643393643d552a32af61901c22e554143;p=thirdparty%2Fcoreutils.git `make check' from a build inside a chroot environment would fail Specify an argument (`/') for df, in the unusual event that there is no valid entry in /etc/mtab. Patch by Tim Waugh. --- diff --git a/tests/help-version b/tests/help-version index 017d2883e6..4ebaa5b4c5 100755 --- a/tests/help-version +++ b/tests/help-version @@ -131,7 +131,10 @@ seq_args=10 sleep_args=0 su_args=--version test_args=foo -# skip chroot, stty, tty, false + +# This is necessary in the unusual event that there is +# no valid entry in /etc/mtab. +df_args=/ sleep 10m & kill_args=$!