Lines Matching refs:testing
3 [ -f testing.sh ] && . testing.sh
45 testing "create file" "$TAR file | SUM 3" \
48 testing "pass file" "$TAR file | LST" \
54 testing "pass user" "tar -c --owner nobody --group root --mtime @0 file | LST" \
59 testing "pass group" "tar c --owner root --group nobody --mtime @0 file | LST" \
63 testing "pass mtime" \
67 testing "adjust mode" \
72 testing "create dir" "$TAR dir | SUM 3" \
75 testing "pass dir" "$TAR dir | LST" \
80 testing "create file in dir" "$TAR dir/file | SUM 3" \
84 testing "create dir and dir/file" "$TAR dir | SUM 3" \
87 testing "pass dir/file" "$TAR dir | LST" \
91 testing "tar C" "$TAR -C dir that | SUM 3" \
96 testing "create symlink" "$TAR dir/link | SUM 3" \
101 testing "create hardlink" "$TAR dir/file dir/hardlink | SUM 3" \
105 testing "create hardlink to symlink" "$TAR dir/link dir/hlink | SUM 3" \
109 testing "create dir/fifo" "$TAR dir/fifo | SUM 3" \
116 testing "create long fname" "$TAR dir/${LONG:1:97} dir/${LONG:1:96} | SUM 3" \
121 testing "create long symlnk" "$TAR dir/lshort dir/llong | SUM 3" \
125 testing "create long->long" "$TAR dir/${LONG:5} | SUM 7" \
130 testing "create symlink" "$TAR dir/linkok | SUM 3" \
134 testing "pass absolute symlink" "$TAR dir/linknull | LST" \
138 testing "pass broken symlink" "$TAR dir/relbrok | LST" \
142 testing "pass broken absolute symlink" "$TAR dir/linkabsbrok | LST" \
148 testing "pass /dev/null" \
153 testing "autodetect gzip" 'LST -f "$FILES"/tar/tar.tgz' \
157 testing "manually specify bz2" 'LST -jf "$FILES"/tar/tar.tbz2' \
162 testing "character special" "tar --mtime @0 -cf test.tar dir/char && rm -f dir/char && tar xf test.…
166 testing "block special" "tar --mtime @0 -cf test.tar dir/block && rm -f dir/block && tar xf test.ta…
170 testing "ownership" "$TAR dir/file | SUM 3" \
177 toyonly testing "symlink out of cwd" \
183 testing "extract dir/file from tar" \
188 testing "extract dir/file from tgz (autodetect)" \
193 toyonly testing "cat tgz | extract dir/file (autodetect)" \
198 testing "extract dir/file from tbz2 (autodetect)" \
203 toyonly testing "cat tbz | extract dir/file (autodetect)" \
209 testing "sparse without overflow" "$TAR --sparse fweep | SUM 3" \
218 testing "sparse single overflow" "$TAR --sparse fweep | SUM 6" \
229 testing "sparse double overflow" "$TAR --sparse fweep | SUM 7" \
234 testing "sparse extract" "tar xf fweep.tar && $TAR --sparse fweep | SUM 4" \
236 testing "sparse tvf" "tar tvf fweep.tar | grep -wq 13172736 && echo right size"\
242 testing "sparse extract hole at end" \