summaryrefslogtreecommitdiff
path: root/tests/help-version
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2004-02-17 14:42:47 +0000
committerJim Meyering <jim@meyering.net>2004-02-17 14:42:47 +0000
commit4852e78643393643d552a32af61901c22e554143 (patch)
tree358f5da066299d3eae628e4948e9de403f1c7548 /tests/help-version
parentc2f29eda90d9fd784b05844668513235966bd8ff (diff)
downloadcoreutils-4852e78643393643d552a32af61901c22e554143.tar.xz
`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.
Diffstat (limited to 'tests/help-version')
-rwxr-xr-xtests/help-version5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/help-version b/tests/help-version
index 017d2883e..4ebaa5b4c 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=$!