]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
tests/run-debuginfod-find.sh: skip test if cpio isn't available.
authorÉrico Rolim <erico.erc@gmail.com>
Tue, 9 Feb 2021 00:56:50 +0000 (19:56 -0500)
committerFrank Ch. Eigler <fche@redhat.com>
Tue, 9 Feb 2021 00:56:50 +0000 (19:56 -0500)
Signed-off-by: Érico Rolim <erico.erc@gmail.com>
tests/ChangeLog
tests/run-debuginfod-find.sh

index 907b635198ac5eeb3d0248ed3052c59a40f3549e..e22fa455fe1571d8c0eb2bc9ab0717eb43472aed 100644 (file)
@@ -1,3 +1,7 @@
+2021-02-08  Érico Nogueira  <ericonr@disroot.org>
+
+       * run-debuginfod-find.sh: Check for cpio availability.
+
 2021-02-04  Frank Ch. Eigler <fche@redhat.com>
 
        * run-debuginfod-find.sh: Smoke test --fdcache-mintmp option handling.
index 6340f60eccabeb447243cd30624b46d2693614f4..876f1ab41627a285920ff5a3f25995f1b5897225 100755 (executable)
@@ -20,6 +20,7 @@
 
 type curl 2>/dev/null || (echo "need curl"; exit 77)
 type rpm2cpio 2>/dev/null || (echo "need rpm2cpio"; exit 77)
+type cpio 2>/dev/null || (echo "need cpio"; exit 77)
 type bzcat 2>/dev/null || (echo "need bzcat"; exit 77)
 bsdtar --version | grep -q zstd && zstd=true || zstd=false
 echo "zstd=$zstd bsdtar=`bsdtar --version`"