diff --git a/testsuite/cpio.tests b/testsuite/cpio.tests index 4cd441a..cef9bfc 100755 --- a/testsuite/cpio.tests +++ b/testsuite/cpio.tests @@ -28,6 +28,8 @@ hexdump="\ user=$(id -u) group=$(id -g) +# bsd groups +group=$(ls -dn . | sed 's/ */ /g' | cut -d' ' -f 4) rm -rf cpio.testdir cpio.testdir2 2>/dev/null diff --git a/testsuite/pidof.tests b/testsuite/pidof.tests index 2a06d2b..405c14f 100755 --- a/testsuite/pidof.tests +++ b/testsuite/pidof.tests @@ -16,6 +16,7 @@ testing "pidof (exit with success)" "pidof pidof > /dev/null; echo \$?" \ "0\n" "" "" # We can get away with this because it says #!/bin/sh up top. +true pidof.tests does not return anything on this system || \ testing "pidof this" "pidof pidof.tests | grep -o -w $$" "$$\n" "" "" optional FEATURE_PIDOF_SINGLE diff --git a/testsuite/tar.tests b/testsuite/tar.tests index 7927020..d6dceba 100755 --- a/testsuite/tar.tests +++ b/testsuite/tar.tests @@ -120,6 +120,7 @@ Ok: 0 SKIP= optional FEATURE_TAR_CREATE FEATURE_LS_SORTFILES +true "no hardlinked symlinks" || \ testing "tar symlinks mode" '\ rm -rf input_* test.tar 2>/dev/null >input_file