Lines Matching +full:testdata +full:. +full:tar +full:. +full:gz
2 # Common settings and functions for the various resize_ffs tests.
9 TDBASE64=$(atf_get_srcdir)/testdata.tar.gz.base64
10 GOODMD5=$(atf_get_srcdir)/testdata.md5
11 # set BYTESWAP to opposite-endian.
12 if [ $(sysctl -n hw.byteorder) = "1234" ]; then
19 # test_case() taken from the tests/ipf/h_common.sh
20 # Used to declare the atf goop for a test.
28 atf_set "require.user" "root" ; \
29 atf_set "require.progs" "rump_ffs" ; \
40 # Used to declare the atf goop for a test expected to fail.
49 atf_set "require.user" "root" ; \
64 uudecode -p ${TDBASE64} | (cd mnt; tar xzf - -s/testdata/TD$1/)
76 # is to ensure data exists near the end of the fs under test.
94 (cd mnt/TD$1 && md5 *) > TD$1.md5
95 atf_check diff -u ${GOODMD5} TD$1.md5
118 local avail=$( df -m . | awk '{if (int($4) > 0) print $4}' )
128 # we want no more than 16K/inode to allow test files to copy.
142 # we're specifying relative paths, so rump_ffs warns - ignore.
143 if ! rump_ffs ${IMG} mnt >/dev/null 2>S.Err
145 if grep 'puffs_daemon: Operation not supported by device' S.Err >/dev/null
149 atf_fail "rump_ffs mount failed: $(tail -r S.Err |