Home
last modified time | relevance | path

Searched refs:FILE_COUNT (Results 1 – 22 of 22) sorted by relevance

/freebsd/tests/sys/cddl/zfs/tests/snapshot/
H A Drollback_001_pos.ksh82 FILE_COUNT=`$LS -Al $SNAPDIR | $GREP -v "total" | wc -l`
83 if [[ $FILE_COUNT -ne $COUNT ]]; then
85 log_fail "AFTER: $SNAPFS contains $FILE_COUNT files(s)."
96 FILE_COUNT=`$LS -Al $TESTDIR/after* 2> /dev/null | $GREP -v "total" | wc -l`
97 if [[ $FILE_COUNT -ne 0 ]]; then
99 log_fail "$TESTDIR contains $FILE_COUNT after* files(s)."
102 FILE_COUNT=`$LS -Al $TESTDIR/before* 2> /dev/null \
104 if [[ $FILE_COUNT -ne $COUNT ]]; then
106 log_fail "$TESTDIR contains $FILE_COUNT before* files(s)."
H A Dsnapshot_011_pos.ksh81 FILE_COUNT=`$LS -Al $SNAPDIR | $GREP -v "total" | wc -l`
82 if (( FILE_COUNT != COUNT )); then
84 log_fail "AFTER: $SNAPFS contains $FILE_COUNT files(s)."
96 FILE_COUNT=`$LS -Al $TESTDIR/after* 2> /dev/null | $GREP -v "total" | wc -l`
97 if (( FILE_COUNT != 0 )); then
99 log_fail "$TESTDIR contains $FILE_COUNT after* files(s)."
102 FILE_COUNT=`$LS -Al $TESTDIR/before* 2> /dev/null \
104 if (( FILE_COUNT != $COUNT )); then
106 log_fail "$TESTDIR contains $FILE_COUNT before* files(s)."
H A Drollback_002_pos.ksh87 FILE_COUNT=`$LS -Al $SNAPDIR | $GREP -v "total" | wc -l`
88 if [[ $FILE_COUNT -ne $COUNT ]]; then
90 log_fail "AFTER: $SNAPFS contains $FILE_COUNT files(s)."
108 FILE_COUNT=`$LS -Al $TESTDIR/aftersecond* 2> /dev/null \
110 if [[ $FILE_COUNT -ne 0 ]]; then
112 log_fail "$TESTDIR contains $FILE_COUNT aftersecond* files(s)."
115 FILE_COUNT=`$LS -Al $TESTDIR/original* $TESTDIR/afterfirst*| $GREP -v "total" | wc -l`
116 if [[ $FILE_COUNT -ne 20 ]]; then
118 log_fail "$TESTDIR contains $FILE_COUNT original* files(s)."
H A Dsnapshot_004_pos.ksh74 FILE_COUNT=`$LS -Al $SNAPDIR | $GREP -v "total 0" | wc -l`
75 if [[ $FILE_COUNT -ne 0 ]]; then
77 log_fail "BEFORE: $SNAPDIR contains $FILE_COUNT files(s)."
85 FILE_COUNT=`$LS -Al $SNAPDIR | $GREP -v "total 0" | wc -l`
86 if [[ $FILE_COUNT -ne 0 ]]; then
88 log_fail "AFTER: $SNAPDIR contains $FILE_COUNT files(s)."
H A Dclone_001_pos.ksh118 FILE_COUNT=`$LS -Al ${args[i+3]} | $GREP -v "total" | wc -l`
119 if [[ $FILE_COUNT -ne $COUNT ]]; then
121 log_fail "AFTER: ${args[i+3]} contains $FILE_COUNT files(s)."
128 FILE_COUNT=`$LS -Al ${args[i+3]}/after* | $GREP -v "total" | wc -l`
129 if [[ $FILE_COUNT -ne $COUNT ]]; then
131 log_fail "${args[i+3]} contains $FILE_COUNT after* files(s)."
H A Dsnapshot_013_pos.ksh96 FILE_COUNT=`$LS -Al $dir | $GREP -v "total" | wc -l`
97 (( FILE_COUNT != COUNT )) && \
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/snapshot/
H A Drollback_001_pos.ksh79 FILE_COUNT=$(ls -A $SNAPDIR | wc -l)
80 if [[ $FILE_COUNT -ne $COUNT ]]; then
82 log_fail "AFTER: $SNAPFS contains $FILE_COUNT files(s)."
100 FILE_COUNT=$(ls -A $TESTDIR/after* 2> /dev/null | wc -l)
101 if [[ $FILE_COUNT -ne 0 ]]; then
103 log_fail "$TESTDIR contains $FILE_COUNT after* files(s)."
106 FILE_COUNT=$(ls -A $TESTDIR/before* 2> /dev/null | wc -l)
107 if [[ $FILE_COUNT -ne $COUNT ]]; then
109 log_fail "$TESTDIR contains $FILE_COUNT before* files(s)."
H A Dsnapshot_011_pos.ksh77 FILE_COUNT=$(ls -A $SNAPDIR | wc -l)
78 if (( FILE_COUNT != COUNT )); then
80 log_fail "AFTER: $SNAPFS contains $FILE_COUNT files(s)."
97 FILE_COUNT=$(ls -A $TESTDIR/after* 2> /dev/null | wc -l)
98 if (( FILE_COUNT != 0 )); then
100 log_fail "$TESTDIR contains $FILE_COUNT after* files(s)."
103 FILE_COUNT=$(ls -A $TESTDIR/before* 2> /dev/null | wc -l)
104 if (( FILE_COUNT != $COUNT )); then
106 log_fail "$TESTDIR contains $FILE_COUNT before* files(s)."
H A Drollback_002_pos.ksh82 FILE_COUNT=$(ls -A $SNAPDIR | wc -l)
83 if [[ $FILE_COUNT -ne $COUNT ]]; then
85 log_fail "AFTER: $SNAPFS contains $FILE_COUNT files(s)."
115 FILE_COUNT=$(ls -A $TESTDIR/aftersecond* 2> /dev/null | wc -l)
116 if [[ $FILE_COUNT -ne 0 ]]; then
118 log_fail "$TESTDIR contains $FILE_COUNT aftersecond* files(s)."
121 FILE_COUNT=$(ls -A $TESTDIR/original* $TESTDIR/afterfirst* | wc -l)
122 if [[ $FILE_COUNT -ne 20 ]]; then
124 log_fail "$TESTDIR contains $FILE_COUNT original* files(s)."
H A Dsnapshot_004_pos.ksh63 FILE_COUNT=$(ls -A $SNAPDIR | wc -l)
64 if [[ $FILE_COUNT -ne 0 ]]; then
66 log_fail "BEFORE: $SNAPDIR contains $FILE_COUNT files(s)."
80 FILE_COUNT=$(ls -A $SNAPDIR | wc -l)
81 if [[ $FILE_COUNT -ne 0 ]]; then
83 log_fail "AFTER: $SNAPDIR contains $FILE_COUNT files(s)."
H A Dclone_001_pos.ksh145 FILE_COUNT=$(ls -A ${args[i+3]} | grep -cvF ".zfs")
146 if [[ $FILE_COUNT -ne $COUNT ]]; then
148 log_fail "AFTER: ${args[i+3]} contains $FILE_COUNT files(s)."
159 FILE_COUNT=$(ls -A ${args[i+3]}/after* | wc -l)
160 if [[ $FILE_COUNT -ne $COUNT ]]; then
162 log_fail "${args[i+3]} contains $FILE_COUNT after* files(s)."
H A Dsnapshot_013_pos.ksh90 FILE_COUNT=$(ls -A $dir | wc -l)
91 (( FILE_COUNT != COUNT )) && log_fail "Got $FILE_COUNT expected $COUNT"
/freebsd/tests/sys/cddl/zfs/tests/clean_mirror/
H A Dclean_mirror_common.kshlib42 populate_dir $TESTDIR/file $FILE_COUNT $WRITE_COUNT $BLOCKSZ 0
43 while (( atfile < FILE_COUNT )); do
61 while (( atfile < FILE_COUNT )); do
71 log_fail "of the $FILE_COUNT files $failedcount did not " \
H A Ddefault.cfg46 export FILE_COUNT=10
/freebsd/tests/sys/cddl/zfs/tests/scrub_mirror/
H A Dscrub_mirror_common.kshlib38 fill_fs $TESTDIR -1 $FILE_COUNT $BLOCKSZ $WRITE_COUNT
39 while [ "$atfile" -lt "$FILE_COUNT" ]; do
60 while [ "$atfile" -lt "$FILE_COUNT" ]; do
75 log_fail "of the $FILE_COUNT files $failedcount did not " \
H A Ddefault.cfg46 export FILE_COUNT=30
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/scrub_mirror/
H A Dscrub_mirror_common.kshlib44 while (( atfile < FILE_COUNT )); do
62 while (( atfile < FILE_COUNT )); do
73 log_fail "of the $FILE_COUNT files $failedcount did not " \
H A Ddefault.cfg34 export FILE_COUNT=10
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/clean_mirror/
H A Dclean_mirror_common.kshlib45 while (( atfile < FILE_COUNT )); do
66 while (( atfile < FILE_COUNT )); do
77 log_fail "of the $FILE_COUNT files $failedcount did not " \
H A Ddefault.cfg34 export FILE_COUNT=10
/freebsd/tests/sys/cddl/zfs/tests/interop/
H A Dinterop_001_pos.ksh85 fill_fs $bg 20 25 $FILE_SIZE $FILE_COUNT
H A Dinterop.cfg76 export FILE_COUNT=20