summaryrefslogtreecommitdiffstats
path: root/tests/cpio_test.in
blob: 5742cf17b9d8f587d00590d481f0a00aaf6cada8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!@BUILD_SHEBANG@

set -e

if ! which cpio >/dev/null 2>&1; then
   echo "cpio not installed; cannot test cpio."
   exit 77
fi

"@builddir@/grub-fs-tester" cpio_bin
"@builddir@/grub-fs-tester" cpio_odc
"@builddir@/grub-fs-tester" cpio_newc
"@builddir@/grub-fs-tester" cpio_crc
"@builddir@/grub-fs-tester" cpio_ustar
"@builddir@/grub-fs-tester" cpio_hpbin
"@builddir@/grub-fs-tester" cpio_hpodc