From: Érico Rolim Date: Tue, 9 Feb 2021 00:56:50 +0000 (-0500) Subject: tests/run-debuginfod-find.sh: skip test if cpio isn't available. X-Git-Tag: elfutils-0.184~45 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d358f6329945c96b25f777377055ee44133810fa;p=thirdparty%2Felfutils.git tests/run-debuginfod-find.sh: skip test if cpio isn't available. Signed-off-by: Érico Rolim --- diff --git a/tests/ChangeLog b/tests/ChangeLog index 907b63519..e22fa455f 100644 --- a/tests/ChangeLog +++ b/tests/ChangeLog @@ -1,3 +1,7 @@ +2021-02-08 Érico Nogueira + + * run-debuginfod-find.sh: Check for cpio availability. + 2021-02-04 Frank Ch. Eigler * run-debuginfod-find.sh: Smoke test --fdcache-mintmp option handling. diff --git a/tests/run-debuginfod-find.sh b/tests/run-debuginfod-find.sh index 6340f60ec..876f1ab41 100755 --- a/tests/run-debuginfod-find.sh +++ b/tests/run-debuginfod-find.sh @@ -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`"