Lines Matching +full:event +full:- +full:deep

18 # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
28 # - A copy of the ISO-9660 spec can be found here:
29 # https://www.ecma-international.org/publications/files/ECMA-ST/Ecma-119.pdf
30 # - Any references to `rockridge` are referring to the `Rock Ridge` extensions
31 # of the ISO-9660 spec. A copy of the draft `IEEE-P1282` spec can be found
35 MAKEFS="makefs -t cd9660"
47 umount -f /dev/$test_md_device || :
48 mdconfig -d -u $test_md_device || :
55 check_image_contents "$@" -X c -X .g -X _g
57 atf_check -e empty -o empty -s exit:0 test -L $TEST_INPUTS_DIR/c
58 atf_check -e empty -o empty -s exit:0 test -f $TEST_MOUNT_DIR/c
62 kldstat -m cd9660 || \
73 atf_check -e empty -o save:$TEST_SPEC_FILE -s exit:0 \
74 mtree -cp $TEST_INPUTS_DIR
75 atf_check -e empty -o not-empty -s exit:0 \
76 $MAKEFS -F $TEST_SPEC_FILE -M 1m $TEST_IMAGE $TEST_INPUTS_DIR
78 atf_check -e empty -o empty -s exit:0 \
80 atf_check -e empty -o save:dupe_$TEST_SPEC_FILE -s exit:0 \
83 atf_check -e empty -o not-empty -s not-exit:0 \
84 $MAKEFS -F dupe_$TEST_SPEC_FILE -M 1m $TEST_IMAGE $TEST_INPUTS_DIR
85 atf_check -e empty -o not-empty -s exit:0 \
86 $MAKEFS -D -F dupe_$TEST_SPEC_FILE -M 1m $TEST_IMAGE $TEST_INPUTS_DIR
98 atf_check -e empty -o save:$TEST_SPEC_FILE -s exit:0 \
99 mtree -cp $TEST_INPUTS_DIR
101 atf_check -e empty -o empty -s exit:0 \
102 $MAKEFS -F $TEST_SPEC_FILE -M 1m $TEST_IMAGE $TEST_INPUTS_DIR
118 atf_check -e empty -o save:$TEST_SPEC_FILE -s exit:0 \
119 mtree -c -k "$DEFAULT_MTREE_KEYWORDS" -p $TEST_INPUTS_DIR
121 atf_check -e empty -o empty -s exit:0 \
123 cd -
141 atf_check -e empty -o empty -s exit:0 mkdir -p $test_inputs_dir2
142 atf_check -e empty -o empty -s exit:0 \
145 atf_check -e empty -o empty -s exit:0 \
150 check_base_iso9660_image_contents -d $test_inputs_dir2
162 atf_check -e empty -o empty -s exit:0 \
179 # Make sure the "more than 8 levels deep" requirement is met.
180 atf_check -e empty -o empty -s exit:0 \
181 mkdir -p $TEST_INPUTS_DIR/a/b/c/d/e/f/g/h/i/j
183 atf_check -e empty -o empty -s exit:0 \
184 $MAKEFS -o allow-deep-trees $TEST_IMAGE $TEST_INPUTS_DIR
198 atf_expect_fail "-o allow-max-name doesn't appear to be implemented on FreeBSD's copy of makefs [yet]"
202 long_path=$TEST_INPUTS_DIR/$(jot -s '' -b 0 37)
205 atf_check -e empty -o empty -s exit:0 touch $long_path
207 atf_check -e empty -o empty -s exit:0 \
208 $MAKEFS -o allow-max-name $TEST_IMAGE $TEST_INPUTS_DIR
226 atf_check -e empty -o empty -s exit:0 \
227 $MAKEFS -o isolevel=1 $TEST_IMAGE $TEST_INPUTS_DIR
243 atf_check -e empty -o empty -s exit:0 \
244 $MAKEFS -o isolevel=2 $TEST_IMAGE $TEST_INPUTS_DIR
262 atf_check -e match:'makefs: ISO Level 3 is greater than 2\.' -o empty -s not-exit:0 \
263 $MAKEFS -o isolevel=3 $TEST_IMAGE $TEST_INPUTS_DIR
265 atf_check -e empty -o empty -s exit:0 \
266 $MAKEFS -o isolevel=3 $TEST_IMAGE $TEST_INPUTS_DIR
290 atf_check -e empty -o empty -s exit:0 touch $TEST_INPUTS_DIR/dummy_file
291 atf_check -e empty -o empty -s exit:0 \
292 $MAKEFS -o preparer="$preparer" $TEST_IMAGE $TEST_INPUTS_DIR
293 atf_check -e empty -o match:"$preparer_uppercase" -s exit:0 \
309 atf_check -e empty -o empty -s exit:0 touch $TEST_INPUTS_DIR/dummy_file
310 atf_check -e empty -o empty -s exit:0 \
311 $MAKEFS -o publisher="$publisher" $TEST_IMAGE $TEST_INPUTS_DIR
312 atf_check -e empty -o match:"$publisher_uppercase" -s exit:0 \
321 # Make sure the "more than 8 levels deep" requirement is met.
322 atf_check -e empty -o empty -s exit:0 \
323 mkdir -p $TEST_INPUTS_DIR/a/b/c/d/e/f/g/h/i/j
329 long_path=$TEST_INPUTS_DIR/$(jot -s '/' -b "$(jot -s '' -b 0 64)" 4)
330 atf_check -e empty -o empty -s exit:0 mkdir -p "$(dirname $long_path)"
331 atf_check -e empty -o empty -s exit:0 touch "$long_path"
333 atf_check -e empty -o empty -s exit:0 \
334 $MAKEFS -o rockridge $TEST_IMAGE $TEST_INPUTS_DIR
338 check_image_contents -X .rr_moved
340 # .rr_moved is a special directory created when you have deep directory
342 atf_check -e empty -o empty -s exit:0 \
343 test -d $TEST_MOUNT_DIR/.rr_moved
359 (tar -cvf - -C /dev null && touch .tar_ok) | \
360 atf_check -e not-empty -o empty -s exit:0 tar -xvf - -C "$TEST_INPUTS_DIR"
362 atf_check -e empty -o empty -s exit:0 test -c $TEST_INPUTS_DIR/null
363 atf_check -e empty -o empty -s exit:0 test -f .tar_ok
365 atf_check -e empty -o empty -s exit:0 \
366 $MAKEFS -o rockridge $TEST_IMAGE $TEST_INPUTS_DIR
389 mkdir -p $TEST_INPUTS_DIR/${dir_prefix}1
390 mkdir -p $TEST_INPUTS_DIR/${dir_prefix}2
391 mkdir -p $TEST_INPUTS_DIR/${dir_prefix}3
393 atf_check -e empty -o empty -s exit:0 \
394 $MAKEFS -o rockridge $TEST_IMAGE $TEST_INPUTS_DIR
397 mount_image -r
402 atf_check_equal $(ls -1 $TEST_MOUNT_DIR | sort | uniq | wc -l) 3
403 atf_check_equal $(ls -1 $TEST_MOUNT_DIR | cut -c -29 | sort | uniq | wc -l) 1