diff options
author | Jim Meyering <meyering@redhat.com> | 2007-12-20 14:19:56 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2007-12-20 14:19:56 +0100 |
commit | 2fc00bda8c6aaab5d0478cc54cf78260090ba74c (patch) | |
tree | 854c042e1d9fe23626f68bb497db1763efb8815c /tests/misc/groups-version | |
parent | 8ddc5056f21039a319a65bece258eccf479e35f8 (diff) | |
download | coreutils-2fc00bda8c6aaab5d0478cc54cf78260090ba74c.tar.xz |
Avoid another "make check" failure due to omitted programs.
* tests/test-lib.sh (require_built_): New function.
* tests/misc/groups-version: Use it to skip this test if
either groups or id is not built.
Diffstat (limited to 'tests/misc/groups-version')
-rwxr-xr-x | tests/misc/groups-version | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/misc/groups-version b/tests/misc/groups-version index 15327be32..e7050c30f 100755 --- a/tests/misc/groups-version +++ b/tests/misc/groups-version @@ -23,6 +23,7 @@ fi . $srcdir/../lang-default . $srcdir/../test-lib.sh +require_built_ groups id fail=0 groups --version | sed 's/^groups/id/; /^$/q' > out || fail=1 |