Home | History | Annotate | Download | only in mtree

Lines Matching refs:mtree

28 # Postprocess mtree output, canonicalising portions that
87 # run mtree and check output
88 ( cd create && mtree -F ${FLAVOR} -c -k type,nlink,link,size,sha256 ) >output.raw \
89 || atf_fail "mtree exit status $?"
96 FLAVOR=mtree create_head
105 FLAVOR=mtree create_body
125 # run mtree and check output
126 ( cd create && mtree -F ${FLAVOR} ) <"$(atf_get_srcdir)/${FLAVOR}_d_create.out" >output \
127 || atf_fail "mtree exit status $?"
133 FLAVOR=mtree check_head
142 FLAVOR=mtree check_body
154 atf_set "descr" "Convert a specfile to mtree -C format, unsorted"
159 mtree -F ${FLAVOR} -C -K all <"$(atf_get_srcdir)/d_convert.in" >output
165 FLAVOR=mtree convert_C_head
174 FLAVOR=mtree convert_C_body
186 atf_set "descr" "Convert a specfile to mtree -C format, sorted"
191 mtree -F ${FLAVOR} -C -S -K all <"$(atf_get_srcdir)/d_convert.in" >output
197 FLAVOR=mtree convert_C_S_head
206 FLAVOR=mtree convert_C_S_body
218 atf_set "descr" "Convert a specfile to mtree -D format, unsorted"
223 mtree -F ${FLAVOR} -D -K all <"$(atf_get_srcdir)/d_convert.in" >output
229 FLAVOR=mtree convert_D_head
238 FLAVOR=mtree convert_D_body
250 atf_set "descr" "Convert a specfile to mtree -D format, sorted"
255 mtree -F ${FLAVOR} -D -S -K all <"$(atf_get_srcdir)/d_convert.in" >output
261 FLAVOR=mtree convert_D_S_head
270 FLAVOR=mtree convert_D_S_body
288 # generates a temporary file, which confuses mtree. Put the mtree files
295 mtree -F ${FLAVOR} -c | mtree -F ${FLAVOR} -Ck uid,gid,mode > mtree.spec
300 atf_check -s ignore -o empty -e empty -x "mtree -F ${FLAVOR} -d < mtree.spec"
305 atf_check -s ignore -o empty -e empty -x "mtree -F ${FLAVOR} -d < mtree.spec"
310 FLAVOR=mtree ignore_head
319 FLAVOR=mtree ignore_body
324 # generates a temporary file, which confuses mtree. Put the mtree files
343 mtree -F ${FLAVOR} -C -M -K all <"$(atf_get_srcdir)/d_merge.in" >output
346 mtree -F ${FLAVOR} -C -M -S -K all <"$(atf_get_srcdir)/d_merge.in" >output
352 FLAVOR=mtree merge_head
361 FLAVOR=mtree merge_body
382 mtree -F ${FLAVOR} -c > mtree.spec
384 if [ ! -f mtree.spec ]; then
385 atf_fail "mtree failed"
389 atf_check -s ignore -o save:output -x "mtree -F ${FLAVOR} -f mtree.spec"
392 atf_fail "mtree did not record changes (PR bin/25693)"
398 FLAVOR=mtree nonemptydir_head
407 FLAVOR=mtree nonemptydir_body
425 mtree -c -p testdir > mtree1.spec
428 atf_fail "mtree failed"
435 mtree -c -p testdir > mtree2.spec
438 atf_fail "mtree failed"
442 -x "mtree -f mtree1.spec -f mtree2.spec"
446 atf_fail "mtree did not detect type change"
461 mtree -F ${FLAVOR} -c -n -O onlyfile >output
463 atf_fail "mtree did not find path in onlyfile"
469 FLAVOR=mtree onlyfile_head
478 FLAVOR=mtree onlyfile_body