2 # Copyright 2015 EMC Corp.
5 # Redistribution and use in source and binary forms, with or without
6 # modification, are permitted provided that the following conditions are
9 # * Redistributions of source code must retain the above copyright
10 # notice, this list of conditions and the following disclaimer.
11 # * Redistributions in binary form must reproduce the above copyright
12 # notice, this list of conditions and the following disclaimer in the
13 # documentation and/or other materials provided with the distribution.
15 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
16 # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
17 # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
18 # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
19 # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
20 # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
21 # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
22 # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
23 # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
25 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
32 [ -z "$ATF_TMPDIR" ] || return 0
34 export ATF_TMPDIR=$(pwd)
36 # XXX: need to nest this because of how kyua creates $TMPDIR; otherwise
37 # it will run into EPERM issues later
38 TEST_INPUTS_DIR="${ATF_TMPDIR}/test/inputs"
40 atf_check -e empty -s exit:0 mkdir -m 0777 -p $TEST_INPUTS_DIR
48 atf_check -e empty -s exit:0 mkdir -m 0755 -p a/b/1
49 atf_check -e empty -s exit:0 ln -s a/b c
50 atf_check -e empty -s exit:0 touch d
51 atf_check -e empty -s exit:0 ln d e
52 atf_check -e empty -s exit:0 touch .f
53 atf_check -e empty -s exit:0 mkdir .g
54 atf_check -e empty -s exit:0 mkfifo h
55 atf_check -e ignore -s exit:0 dd if=/dev/zero of=i count=1000 bs=1
56 atf_check -e empty -s exit:0 touch klmn
57 atf_check -e empty -s exit:0 touch opqr
58 atf_check -e empty -s exit:0 touch stuv
59 atf_check -e empty -s exit:0 install -m 0755 /dev/null wxyz
60 atf_check -e empty -s exit:0 touch 0b00000001
61 atf_check -e empty -s exit:0 touch 0b00000010
62 atf_check -e empty -s exit:0 touch 0b00000011
63 atf_check -e empty -s exit:0 touch 0b00000100
64 atf_check -e empty -s exit:0 touch 0b00000101
65 atf_check -e empty -s exit:0 touch 0b00000110
66 atf_check -e empty -s exit:0 touch 0b00000111
67 atf_check -e empty -s exit:0 touch 0b00001000
68 atf_check -e empty -s exit:0 touch 0b00001001
69 atf_check -e empty -s exit:0 touch 0b00001010
70 atf_check -e empty -s exit:0 touch 0b00001011
71 atf_check -e empty -s exit:0 touch 0b00001100
72 atf_check -e empty -s exit:0 touch 0b00001101
73 atf_check -e empty -s exit:0 touch 0b00001110
74 atf_check -e empty -s exit:0 touch 0b00001111
87 if ! getconf MIN_HOLE_SIZE "$(pwd)"; then
88 echo "getconf MIN_HOLE_SIZE $(pwd) failed; sparse files probably" \
89 "not supported by file system"
91 atf_skip "Test's work directory does not support sparse files;" \
92 "try with a different TMPDIR?"
95 for filesize in 1 512 $(( 2 * $KB )) $(( 10 * $KB )) $(( 512 * $KB )); \
97 atf_check -e ignore -o empty -s exit:0 \
98 dd if=/dev/zero of=${filesize}.file bs=1 \
99 count=1 oseek=${filesize} conv=sparse
100 files="${files} ${filesize}.file"
103 for filesize in $MB $GB $TB; do
104 atf_check -e ignore -o empty -s exit:0 \
105 dd if=/dev/zero of=${filesize}.file bs=$MB \
106 count=1 oseek=$(( $filesize / $MB )) conv=sparse
107 files="${files} ${filesize}.file"
114 atf_set "descr" "Verify -A support with unprivileged users"
121 atf_check -e empty -o empty -s exit:0 ls -A
125 WITH_A=$PWD/../with_A.out
126 WITHOUT_A=$PWD/../without_A.out
128 atf_check -e empty -o save:$WITH_A -s exit:0 ls -A
129 atf_check -e empty -o save:$WITHOUT_A -s exit:0 ls
136 for dot_path in '\.f' '\.g'; do
137 atf_check -e empty -o not-empty -s exit:0 grep "${dot_path}" \
139 atf_check -e empty -o empty -s not-exit:0 grep "${dot_path}" \
144 atf_test_case A_flag_implied_when_root
145 A_flag_implied_when_root_head()
147 atf_set "descr" "Verify that -A is implied for root"
148 atf_set "require.user" "root"
151 A_flag_implied_when_root_body()
155 atf_check -e empty -o empty -s exit:0 ls -A
159 WITH_EXPLICIT=$PWD/../with_explicit_A.out
160 WITH_IMPLIED=$PWD/../with_implied_A.out
162 atf_check -e empty -o save:$WITH_EXPLICIT -s exit:0 ls -A
163 atf_check -e empty -o save:$WITH_IMPLIED -s exit:0 ls
165 echo "Explicit -A usage"
167 echo "Implicit -A usage"
170 atf_check_equal "$(cat $WITH_EXPLICIT)" "$(cat $WITH_IMPLIED)"
176 atf_set "descr" "Verify that the output from ls -B prints out non-printable characters"
181 atf_check -e empty -o empty -s exit:0 touch "$(printf "y\013z")"
182 atf_check -e empty -o match:'y\\013z' -s exit:0 ls -B
188 atf_set "descr" "Verify that the output from ls -C is multi-column, sorted down"
194 local wanted_index=$1; shift
196 while [ $i -le $wanted_index ]; do
197 if [ $i -eq $wanted_index ]; then
210 WITH_C=$PWD/../with_C.out
213 atf_check -e empty -o save:$WITH_C -s exit:0 ls -C
218 paths=$(find -s . -mindepth 1 -maxdepth 1 \! -name '.*' -exec basename {} \; )
223 max_num_paths_per_column=$(( $(( $num_paths + 1 )) / $num_columns ))
226 while [ $i -le $max_num_paths_per_column ]; do
227 column_1=$(print_index $i $paths)
228 column_2=$(print_index $(( $i + $max_num_paths_per_column )) $paths)
229 #echo "paths[$(( $i + $max_num_paths_per_column ))] = $column_2"
230 expected_expr="$column_1"
231 if [ -n "$column_2" ]; then
232 expected_expr="$expected_expr[[:space:]]+$column_2"
234 atf_check -e ignore -o not-empty -s exit:0 \
235 egrep "$expected_expr" $WITH_C
243 atf_set "descr" "Verify that the output from ls -D modifies the time format used with ls -l"
248 atf_check -e empty -o empty -s exit:0 touch a.file
249 atf_check -e empty -o match:"$(stat -f '%c[[:space:]]+%N' a.file)" \
250 -s exit:0 ls -lD '%s'
256 atf_set "descr" "Verify that the output from ls -F prints out appropriate symbols after files"
263 atf_check -e empty -s exit:0 \
264 sh -c "pid=${ATF_TMPDIR}/nc.pid; daemon -p \$pid nc -lU j; sleep 2; pkill -F \$pid"
266 atf_check -e empty -o match:'a/' -s exit:0 ls -F
267 atf_check -e empty -o match:'c@' -s exit:0 ls -F
268 atf_check -e empty -o match:'h\|' -s exit:0 ls -F
269 atf_check -e empty -o match:'j=' -s exit:0 ls -F
270 #atf_check -e empty -o match:'<whiteout-file>%' -s exit:0 ls -F
271 atf_check -e empty -o match:'stuv' -s exit:0 ls -F
272 atf_check -e empty -o match:'wxyz\*' -s exit:0 ls -F
278 atf_set "descr" "Verify that ls -H follows symlinks"
285 atf_check -e empty -o match:'1' -s exit:0 ls -H c
291 atf_set "descr" "Verify that the output from ls -I is the same as ls for an unprivileged user"
298 WITH_I=$PWD/../with_I.out
299 WITHOUT_I=$PWD/../without_I.out
301 atf_check -e empty -o save:$WITH_I -s exit:0 ls -I
302 atf_check -e empty -o save:$WITHOUT_I -s exit:0 ls
304 echo "Explicit -I usage"
309 atf_check_equal "$(cat $WITH_I)" "$(cat $WITHOUT_I)"
312 atf_test_case I_flag_voids_implied_A_flag_when_root
313 I_flag_voids_implied_A_flag_when_root_head()
315 atf_set "descr" "Verify that -I voids out implied -A for root"
316 atf_set "require.user" "root"
319 I_flag_voids_implied_A_flag_when_root_body()
323 atf_check -o not-match:'\.f' -s exit:0 ls -I
324 atf_check -o not-match:'\.g' -s exit:0 ls -I
326 atf_check -o match:'\.f' -s exit:0 ls -A -I
327 atf_check -o match:'\.g' -s exit:0 ls -A -I
333 atf_set "descr" "Verify that -L prints out the symbolic link and conversely -P prints out the target for the symbolic link"
338 atf_check -e empty -o empty -s exit:0 ln -s target1/target2 link1
339 atf_check -e empty -o match:link1 -s exit:0 ls -L
340 atf_check -e empty -o not-match:target1/target2 -s exit:0 ls -L
346 atf_set "descr" "Verify that the output from ls -R prints out the directory contents recursively"
353 WITH_R=$PWD/../with_R.out
354 WITH_R_expected_output=$PWD/../with_R_expected.out
356 atf_check -e empty -o save:$WITH_R -s exit:0 ls -R
358 set -- . $(find -s . \! -name '.*' -type d)
359 while [ $# -gt 0 ]; do
361 [ "$dir" != "." ] && echo "$dir:"
362 (cd $dir && ls -1A | sed -e '/^\./d')
364 done > $WITH_R_expected_output
368 echo "-R expected output"
369 cat $WITH_R_expected_output
371 atf_check_equal "$(cat $WITH_R)" "$(cat $WITH_R_expected_output)"
377 atf_set "descr" "Verify that -S sorts by file size, then by filename lexicographically"
384 file_list_dir=$PWD/../files
386 atf_check -e empty -o empty -s exit:0 mkdir -p $file_list_dir
391 WITH_S=$PWD/../with_S.out
392 WITHOUT_S=$PWD/../without_S.out
394 atf_check -e empty -o save:$WITH_S ls -D '%s' -lS
395 atf_check -e empty -o save:$WITHOUT_S ls -D '%s' -l
397 WITH_S_parsed=$(awk '! /^total/ { print $7 }' $WITH_S)
398 set -- $(awk '! /^total/ { print $5, $7 }' $WITHOUT_S)
399 while [ $# -gt 0 ]; do
402 echo $filename >> $file_list_dir/${size}
404 file_lists=$(find $file_list_dir -type f -exec basename {} \; | sort -nr)
405 WITHOUT_S_parsed=$(for file_list in $file_lists; do sort < $file_list_dir/$file_list; done)
407 echo "-lS usage (parsed)"
408 echo "$WITH_S_parsed"
409 echo "-l usage (parsed)"
410 echo "$WITHOUT_S_parsed"
412 atf_check_equal "$WITHOUT_S_parsed" "$WITH_S_parsed"
418 atf_set "descr" "Verify -T support"
425 atf_check -e empty -o empty -s exit:0 touch a.file
427 mtime_in_secs=$(stat -f %m -t %s a.file)
428 mtime=$(date -j -f %s $mtime_in_secs +"[[:space:]]+%b[[:space:]]+%e[[:space:]]+%H:%M:%S[[:space:]]+%Y")
430 atf_check -e empty -o match:"$mtime"'[[:space:]]+a\.file' \
431 -s exit:0 ls -lT a.file
437 atf_set "descr" "Verify -a support"
444 # Make sure "." and ".." show up with -a
445 atf_check -e empty -o match:'\.[[:space:]]+\.\.' -s exit:0 ls -ax
449 WITH_a=$PWD/../with_a.out
450 WITHOUT_a=$PWD/../without_a.out
452 atf_check -e empty -o save:$WITH_a -s exit:0 ls -a
453 atf_check -e empty -o save:$WITHOUT_a -s exit:0 ls
460 for dot_path in '\.f' '\.g'; do
461 atf_check -e empty -o not-empty -s exit:0 grep "${dot_path}" \
463 atf_check -e empty -o empty -s not-exit:0 grep "${dot_path}" \
471 atf_set "descr" "Verify that the output from ls -b prints out non-printable characters"
476 atf_check -e empty -o empty -s exit:0 touch "$(printf "y\013z")"
477 atf_check -e empty -o match:'y\\vz' -s exit:0 ls -b
483 atf_set "descr" "Verify that -d doesn't descend down directories"
490 output=$PWD/../output
492 atf_check -e empty -o empty -s exit:0 mkdir -p a/b
494 for path in . $PWD a; do
495 atf_check -e empty -o save:$output -s exit:0 ls -d $path
496 atf_check_equal "$(cat $output)" "$path"
503 atf_set "descr" "Verify that -f prints out the contents of a directory unsorted"
510 output=$PWD/../output
512 # XXX: I don't have enough understanding of how the algorithm works yet
513 # to determine more than the fact that all the entries printed out
515 paths=$(find -s . -mindepth 1 -maxdepth 1 \! -name '.*' -exec basename {} \; )
517 atf_check -e empty -o save:$output -s exit:0 ls -f
519 for path in $paths; do
520 atf_check -e ignore -o not-empty -s exit:0 \
521 egrep "^$path$" $output
528 atf_set "descr" "Verify that -g does nothing (compatibility flag)"
534 for file in $files; do
535 atf_check -e empty -o match:"$(ls -a $file)" -s exit:0 \
537 atf_check -e empty -o match:"$(ls -la $file)" -s exit:0 \
545 atf_set "descr" "Verify that -h prints out the humanized units for file sizes with ls -l"
546 atf_set "require.progs" "bc"
551 # XXX: this test doesn't currently show how 999 bytes will be 999B,
552 # but 1000 bytes will be 1.0K, due to how humanize_number(3) works.
554 for file in $files; do
555 file_size=$(stat -f '%z' "$file") || \
556 atf_fail "stat'ing $file failed"
558 if [ $file_size -lt $KB ]; then
562 elif [ $file_size -lt $MB ]; then
565 elif [ $file_size -lt $GB ]; then
568 elif [ $file_size -lt $TB ]; then
571 elif [ $file_size -lt $PB ]; then
579 bc_expr="$(printf "scale=%s\n%s/%s\nquit" $scale $file_size $divisor)"
580 size_humanized=$(bc -e "$bc_expr" | tr '.' '\.' | sed -e 's,\.00,,')
582 atf_check -e empty -o match:"$size_humanized.+$file" \
583 -s exit:0 ls -hl $file
590 atf_set "descr" "Verify that -i prints out the inode for files"
597 paths=$(find -L . -mindepth 1)
598 [ -n "$paths" ] || atf_skip 'Could not find any paths to iterate over (!)'
600 for path in $paths; do
602 -o match:"$(stat -f '[[:space:]]*%i[[:space:]]+%N' $path)" \
603 -s exit:0 ls -d1i $path
610 atf_set "descr" "Verify that -k prints out the size with a block size of 1kB"
616 for file in $files; do
618 -o match:"[[:space:]]+$(stat -f "%z" $file)[[:space:]]+.+[[:space:]]+$file" ls -lk $file
625 atf_set "descr" "Verify that -l prints out the output in long format"
631 atf_check -e empty -o empty -s exit:0 touch a.file
633 mtime_in_secs=$(stat -f "%m" -t "%s" a.file)
634 mtime=$(date -j -f "%s" $mtime_in_secs +"%b[[:space:]]+%e[[:space:]]+%H:%M")
636 expected_output=$(stat -f "%Sp[[:space:]]+%l[[:space:]]+%Su[[:space:]]+%Sg[[:space:]]+%z[[:space:]]+$mtime[[:space:]]+a\\.file" a.file)
638 atf_check -e empty -o match:"$expected_output" -s exit:0 ls -l a.file
641 atf_test_case lcomma_flag
644 atf_set "descr" "Verify that -l, prints out the size with ',' delimiters"
652 -o match:'\-rw\-r\-\-r\-\-[[:space:]]+.+[[:space:]]+1,000[[:space:]]+.+i' \
653 env LC_ALL=en_US.ISO8859-1 ls -l, i
659 atf_set "descr" "Verify that the output from ls -m is comma-separated"
666 output=$PWD/../output
668 atf_check -e empty -o empty -s exit:0 touch ,, "a,b " c d e
670 atf_check -e empty -o save:$output -s exit:0 ls -m
672 atf_check_equal "$(cat $output)" ",,, a,b , c, d, e"
678 atf_set "descr" "Verify that the output from ls -n prints out numeric GIDs/UIDs instead of symbolic GIDs/UIDs"
679 atf_set "require.user" "root"
684 daemon_gid=$(id -g daemon) || atf_skip "could not resolve gid for daemon (!)"
685 nobody_uid=$(id -u nobody) || atf_skip "could not resolve uid for nobody (!)"
687 atf_check -e empty -o empty -s exit:0 touch a.file
688 atf_check -e empty -o empty -s exit:0 chown $nobody_uid:$daemon_gid a.file
691 -o match:'\-rw\-r\-\-r\-\-[[:space:]]+1[[:space:]]+'"$nobody_uid[[:space:]]+$daemon_gid"'[[:space:]]+.+a\.file' \
699 atf_set "descr" "Verify that the output from ls -o prints out the chflag values or '-' if none are set"
708 atf_check -e ignore -o empty -s exit:0 dd if=/dev/zero of=a.file \
710 atf_check -e ignore -o empty -s exit:0 dd if=/dev/zero of=b.file \
712 atf_check -e empty -o empty -s exit:0 chflags uarch a.file
713 atf_check -e empty -o empty -s exit:0 chflags 0 b.file
715 atf_check -e empty -o match:"[[:space:]]+uarch[[:space:]]$size+.+a\\.file" \
716 -s exit:0 ls -lo a.file
717 atf_check -e empty -o match:"[[:space:]]+\\-[[:space:]]$size+.+b\\.file" \
718 -s exit:0 ls -lo b.file
724 atf_set "descr" "Verify that the output from ls -p prints out '/' after directories"
732 [ -n "$paths" ] || atf_skip 'Could not find any paths to iterate over (!)'
734 for path in $paths; do
736 # If path is not a symlink and is a directory, then the suffix
738 if [ ! -L "${path}" -a -d "$path" ]; then
741 atf_check -e empty -o match:"$path${suffix}" -s exit:0 \
746 atf_test_case q_flag_and_w_flag
747 q_flag_and_w_flag_head()
749 atf_set "descr" "Verify that the output from ls -q prints out '?' for ESC and ls -w prints out the escape character"
752 q_flag_and_w_flag_body()
756 test_file="$(printf "y\01z")"
758 atf_check -e empty -o empty -s exit:0 touch "$test_file"
760 atf_check -e empty -o match:'y\?z' -s exit:0 ls -q "$test_file"
761 atf_check -e empty -o match:"$test_file" -s exit:0 ls -w "$test_file"
767 atf_set "descr" "Verify that the output from ls -r sorts the same way as reverse sorting with sort(1)"
774 WITH_r=$PWD/../with_r.out
775 WITH_sort=$PWD/../with_sort.out
777 atf_check -e empty -o save:$WITH_r -s exit:0 ls -1r
778 atf_check -e empty -o save:$WITH_sort -s exit:0 sh -c 'ls -1 | sort -r'
780 echo "Sorted with -r"
782 echo "Reverse sorted with sort(1)"
785 atf_check_equal "$(cat $WITH_r)" "$(cat $WITH_sort)"
791 atf_set "descr" "Verify that the output from ls -s matches the output from stat(1)"
797 for file in $files; do
799 -o match:"$(stat -f "%b" $file)[[:space:]]+$file" ls -s $file
806 atf_set "descr" "Verify that the output from ls -t sorts by modification time"
813 atf_check -e empty -o empty -s exit:0 touch a.file
814 atf_check -e empty -o empty -s exit:0 touch b.file
816 atf_check -e empty -o match:'a\.file' -s exit:0 sh -c 'ls -lt | tail -n 1'
817 atf_check -e empty -o match:'b\.file.*a\.file' -s exit:0 ls -Ct
819 atf_check -e empty -o empty -s exit:0 rm a.file
820 atf_check -e empty -o empty -s exit:0 sh -c 'echo "i am a" > a.file'
822 atf_check -e empty -o match:'b\.file' -s exit:0 sh -c 'ls -lt | tail -n 1'
823 atf_check -e empty -o match:'a\.file.*b\.file' -s exit:0 ls -Ct
829 atf_set "descr" "Verify that the output from ls -u sorts by last access"
836 atf_check -e empty -o empty -s exit:0 touch a.file
837 atf_check -e empty -o empty -s exit:0 touch b.file
839 atf_check -e empty -o match:'b\.file' -s exit:0 sh -c 'ls -lu | tail -n 1'
840 atf_check -e empty -o match:'a\.file.*b\.file' -s exit:0 ls -Cu
842 atf_check -e empty -o empty -s exit:0 sh -c 'echo "i am a" > a.file'
843 atf_check -e empty -o match:'i am a' -s exit:0 cat a.file
845 atf_check -e empty -o match:'b\.file' -s exit:0 sh -c 'ls -lu | tail -n 1'
846 atf_check -e empty -o match:'a\.file.*b\.file' -s exit:0 ls -Cu
852 atf_set "descr" "Verify that the output from ls -x is multi-column, sorted across"
859 WITH_x=$PWD/../with_x.out
861 atf_check -e empty -o save:$WITH_x -s exit:0 ls -x
866 atf_check -e ignore -o not-empty -s exit:0 \
867 egrep "a[[:space:]]+c[[:space:]]+d[[:space:]]+e[[:space:]]+h" $WITH_x
868 atf_check -e ignore -o not-empty -s exit:0 \
869 egrep "i[[:space:]]+klmn[[:space:]]+opqr[[:space:]]+stuv[[:space:]]+wxyz" $WITH_x
875 atf_set "descr" "Verify that the output from ls -y sorts the same way as sort(1)"
882 WITH_sort=$PWD/../with_sort.out
883 WITH_y=$PWD/../with_y.out
885 atf_check -e empty -o save:$WITH_sort -s exit:0 sh -c 'ls -1 | sort'
886 atf_check -e empty -o save:$WITH_y -s exit:0 ls -1y
888 echo "Sorted with sort(1)"
890 echo "Sorted with -y"
893 atf_check_equal "$(cat $WITH_sort)" "$(cat $WITH_y)"
899 atf_set "descr" "Verify that -1 prints out one item per line"
906 WITH_1=$PWD/../with_1.out
907 WITHOUT_1=$PWD/../without_1.out
909 atf_check -e empty -o save:$WITH_1 -s exit:0 ls -1
910 atf_check -e empty -o save:$WITHOUT_1 -s exit:0 \
911 sh -c 'for i in $(ls); do echo $i; done'
913 echo "Explicit -1 usage"
918 atf_check_equal "$(cat $WITH_1)" "$(cat $WITHOUT_1)"
921 atf_init_test_cases()
925 atf_add_test_case A_flag
926 atf_add_test_case A_flag_implied_when_root
927 atf_add_test_case B_flag
928 atf_add_test_case C_flag
929 atf_add_test_case D_flag
930 atf_add_test_case F_flag
931 #atf_add_test_case G_flag
932 atf_add_test_case H_flag
933 atf_add_test_case I_flag
934 atf_add_test_case I_flag_voids_implied_A_flag_when_root
935 atf_add_test_case L_flag
936 #atf_add_test_case P_flag
937 atf_add_test_case R_flag
938 atf_add_test_case S_flag
939 atf_add_test_case T_flag
940 #atf_add_test_case U_flag
941 #atf_add_test_case W_flag
942 #atf_add_test_case Z_flag
943 atf_add_test_case a_flag
944 atf_add_test_case b_flag
945 #atf_add_test_case c_flag
946 atf_add_test_case d_flag
947 atf_add_test_case f_flag
948 atf_add_test_case g_flag
949 atf_add_test_case h_flag
950 atf_add_test_case i_flag
951 atf_add_test_case k_flag
952 atf_add_test_case l_flag
953 atf_add_test_case lcomma_flag
954 atf_add_test_case m_flag
955 atf_add_test_case n_flag
956 atf_add_test_case o_flag
957 atf_add_test_case p_flag
958 atf_add_test_case q_flag_and_w_flag
959 atf_add_test_case r_flag
960 atf_add_test_case s_flag
961 atf_add_test_case t_flag
962 atf_add_test_case u_flag
963 atf_add_test_case x_flag
964 atf_add_test_case y_flag
965 atf_add_test_case 1_flag