Lines Matching refs:tar
37 # store both foo and bar into file1.tar
38 atf_check -s exit:0 -o empty -e empty tar -cf file1.tar foo bar
40 # store foo into file2.tar, then append bar to file2.tar
41 atf_check -s exit:0 -o empty -e empty tar -cf file2.tar foo
42 atf_check -s exit:0 -o empty -e empty tar -rf file2.tar bar
44 # ensure that file1.tar and file2.tar are equal
45 atf_check -s exit:0 -o empty -e empty cmp file1.tar file2.tar
62 printf 'output.bin' > test.tar
64 head -c 90 /dev/zero >> test.tar
66 printf '%07d\0%07d\0%07d\0' 644 177776 177775 >> test.tar
68 printf '\x80\0\0\0\0\0\0\0\0\x12\x00\xCF' >> test.tar
70 printf '%011d\0%06d\0 0' 13377546642 12460 >> test.tar
72 head -c 100 /dev/zero >> test.tar
74 printf 'ustar \0nobody' >> test.tar
76 head -c 26 /dev/zero >> test.tar
78 printf 'nogroup' >> test.tar
80 head -c 208 /dev/zero >> test.tar
82 cat reference.bin >> test.tar
84 head -c 1450 /dev/zero >> test.tar
87 atf_check -s exit:0 -o empty -e empty tar -xf test.tar