Home
last modified time | relevance | path

Searched refs:TESTDIR (Results 1 – 25 of 390) sorted by relevance

12345678910>>...16

/titanic_51/usr/src/test/zfs-tests/tests/functional/xattr/
H A Dxattr_011_pos.ksh51 log_must $RM $TESTDIR/myfile.$$
59 log_must $TOUCH $TESTDIR/myfile.$$
60 create_xattr $TESTDIR/myfile.$$ passwd /etc/passwd
70 log_must $TOUCH $TESTDIR/cpio.$$
71 create_xattr $TESTDIR/cpio.$$ passwd /etc/passwd
72 $ECHO $TESTDIR/cpio.$$ | $CPIO -o@ > /tmp/xattr.$$.cpio
73 $ECHO $TESTDIR/cpio.$$ | $CPIO -o > /tmp/noxattr.$$.cpio
77 log_mustnot eval "$RUNAT $TESTDIR/cpio.$$ $CAT passwd > /dev/null 2>&1"
81 log_must eval "$RUNAT $TESTDIR/cpio.$$ $CAT passwd > /dev/null 2>&1"
85 log_mustnot eval "$RUNAT $TESTDIR/cpi
[all...]
H A Dxattr_013_pos.ksh48 log_must $RM $TESTDIR/myfile.$$
61 log_must $TOUCH $TESTDIR/myfile.$$
62 create_xattr $TESTDIR/myfile.$$ passwd /etc/passwd
64 log_must $UMOUNT $TESTDIR
68 log_mustnot eval "$RUNAT $TESTDIR/myfile.$$ $CAT passwd > /dev/null 2>&1"
69 log_mustnot eval "$RUNAT $TESTDIR/myfile.$$ $RM passwd > /dev/null 2>&1"
70 log_mustnot eval "$RUNAT $TESTDIR/myfile.$$ $CP /etc/passwd . > /dev/null 2>&1"
72 log_must $TOUCH $TESTDIR/new.$$
73 log_mustnot eval "$RUNAT $TESTDIR/new.$$ $CP /etc/passwd . > /dev/null 2>&1"
74 log_mustnot eval "$RUNAT $TESTDIR/ne
[all...]
H A Dxattr_005_pos.ksh49 log_must $RM $TESTDIR/myfile.$$
56 log_must $TOUCH $TESTDIR/myfile.$$
57 create_xattr $TESTDIR/myfile.$$ passwd /etc/passwd
62 log_must $ZFS set mountpoint=$TESTDIR/clone $TESTPOOL/$TESTFS/clone
65 verify_xattr $TESTDIR/clone/myfile.$$ passwd /etc/passwd
68 create_xattr $TESTDIR/clone/myfile.$$ foo /etc/passwd
69 delete_xattr $TESTDIR/clone/myfile.$$ foo
72 delete_xattr $TESTDIR/myfile.$$ passwd
75 verify_xattr $TESTDIR/clone/myfile.$$ passwd /etc/passwd
76 delete_xattr $TESTDIR/clon
[all...]
/titanic_51/usr/src/test/zfs-tests/tests/functional/snapshot/
H A Dsnapshot_002_pos.ksh67 if [[ -e $TESTDIR ]]; then
68 log_must $RM -rf $TESTDIR/* > /dev/null 2>&1
85 [[ -n $TESTDIR ]] && \
86 $RM -rf $TESTDIR/* > /dev/null 2>&1
92 log_must $FILE_WRITE -o $OP -f $TESTDIR/file$i \
98 log_note "Create a tarball from $TESTDIR contents..."
100 cd $TESTDIR || log_fail "Could not cd $TESTDIR"
101 log_must $TAR cf $TESTDIR/tarball.original.tar file*
108 log_must $RM -f $TESTDIR/fil
[all...]
H A Drollback_002_pos.ksh62 [[ -e $TESTDIR ]] && \
63 log_must $RM -rf $TESTDIR/* > /dev/null 2>&1
70 [[ -n $TESTDIR ]] && \
71 log_must $RM -rf $TESTDIR/* > /dev/null 2>&1
75 log_note "Populate the $TESTDIR directory (prior to first snapshot)"
78 log_must $FILE_WRITE -o create -f $TESTDIR/original_file$i \
92 log_note "Populate the $TESTDIR directory (prior to second snapshot)"
95 log_must $FILE_WRITE -o create -f $TESTDIR/afterfirst_file$i \
103 log_note "Populate the $TESTDIR directory (Post second snapshot)"
106 log_must $FILE_WRITE -o create -f $TESTDIR/aftersecond_fil
[all...]
H A Drollback_001_pos.ksh58 [[ -e $TESTDIR ]] && \
59 log_must $RM -rf $TESTDIR/* > /dev/null 2>&1
66 [[ -n $TESTDIR ]] && \
67 log_must $RM -rf $TESTDIR/* > /dev/null 2>&1
71 log_note "Populate the $TESTDIR directory (prior to snapshot)"
74 log_must $FILE_WRITE -o create -f $TESTDIR/before_file$i \
88 log_note "Populate the $TESTDIR directory (post snapshot)"
91 log_must $FILE_WRITE -o create -f $TESTDIR/after_file$i \
102 FILE_COUNT=`$LS -Al $TESTDIR/after* 2> /dev/null | $GREP -v "total" | wc -l`
104 $LS -Al $TESTDIR
[all...]
H A Dsnapshot_011_pos.ksh57 [[ -e $TESTDIR ]] && \
58 log_must $RM -rf $TESTDIR/* > /dev/null 2>&1
64 [[ -n $TESTDIR ]] && \
65 log_must $RM -rf $TESTDIR/* > /dev/null 2>&1
69 log_note "Populate the $TESTDIR directory (prior to snapshot)"
72 log_must $FILE_WRITE -o create -f $TESTDIR/before_file$i \
86 log_note "Populate the $TESTDIR directory (post snapshot)"
89 log_must $FILE_WRITE -o create -f $TESTDIR/after_file$i \
100 FILE_COUNT=`$LS -Al $TESTDIR/after* 2> /dev/null | $GREP -v "total" | wc -l`
102 $LS -Al $TESTDIR
[all...]
H A Dsnapshot_017_pos.ksh64 log_must $ZFS set mountpoint=$TESTDIR $TESTPOOL/$TESTFS
147 cd $TESTDIR
160 cd $TESTDIR
169 cd $TESTDIR
177 verify_dir $TESTDIR/.zfs
178 verify_dir $TESTDIR/.zfs/snapshot
179 verify_dir $TESTDIR/.zfs/snapshot/snap_a
180 verify_dir $TESTDIR/.zfs/snapshot/snap_b
182 cd $TESTDIR/.zfs/snapshot/snap_a
185 cd $TESTDIR/
[all...]
/titanic_51/usr/src/test/zfs-tests/tests/functional/nopwrite/
H A Dnopwrite_negative.ksh40 log_must $ZFS create -o mountpoint=$TESTDIR $origin
46 $DD if=/dev/urandom of=$TESTDIR/file bs=1024k count=$MEGS conv=notrunc \
47 >/dev/null 2>&1 || log_fail "dd of $TESTDIR/file failed."
51 $DD if=/$TESTDIR/file of=/$TESTDIR/clone/file bs=1024k count=$MEGS \
55 log_must $RM -f $TESTDIR/file
59 $DD if=/dev/urandom of=$TESTDIR/file bs=1024k count=$MEGS conv=notrunc \
60 >/dev/null 2>&1 || log_fail "dd into $TESTDIR/file failed."
64 $DD if=/$TESTDIR/file of=/$TESTDIR/clon
[all...]
H A Dnopwrite_mtime.ksh38 log_must $ZFS create -o mountpoint=$TESTDIR $origin
45 $DD if=/dev/urandom of=$TESTDIR/file bs=1024k count=$MEGS conv=notrunc \
46 >/dev/null 2>&1 || log_fail "dd into $TESTDIR/file failed."
50 o_atime=$($LS -E% all $TESTDIR/clone/file | $AWK '/atime/ {print $4}')
51 o_ctime=$($LS -E% all $TESTDIR/clone/file | $AWK '/ctime/ {print $4}')
52 o_mtime=$($LS -E% all $TESTDIR/clone/file | $AWK '/mtime/ {print $4}')
53 $DD if=/$TESTDIR/file of=/$TESTDIR/clone/file bs=1024k count=$MEGS \
55 atime=$($LS -E% all $TESTDIR/clone/file | $AWK '/atime/ {print $4}')
56 ctime=$($LS -E% all $TESTDIR/clon
[all...]
/titanic_51/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_create/
H A Dzpool_create_010_neg.ksh56 [[ -d $TESTDIR ]] && $RM -rf $TESTDIR
70 log_must $ZFS set mountpoint=$TESTDIR $TESTPOOL/$TESTFS
72 for files in $TESTDIR/file1 $TESTDIR/file2
78 "$TOOSMALL $TESTDIR/file1" "$TESTPOOL1 $TESTDIR/file1 $TESTDIR/file2" \
79 "$TOOSMALL mirror $TESTDIR/file1 $TESTDIR/file
[all...]
H A Dzpool_create_017_neg.ksh54 if [[ -d $TESTDIR ]]; then
55 log_must $RM -rf $TESTDIR
70 if [[ ! -d $TESTDIR ]]; then
71 log_must $MKDIR -p $TESTDIR
77 log_must $RM -rf $TESTDIR/*
79 log_must $MKDIR $TESTDIR/testdir
81 log_must $TOUCH $TESTDIR/testfile
84 log_mustnot $ZPOOL create -m $TESTDIR -f $TESTPOOL $pool_dev
/titanic_51/usr/src/test/zfs-tests/tests/functional/cli_user/misc/
H A Dsetup.ksh58 $TOUCH /$TESTDIR/file.txt
119 $MKFILE 100m /$TESTDIR/disk1.dat
120 $MKFILE 100m /$TESTDIR/disk2.dat
121 $MKFILE 100m /$TESTDIR/disk3.dat
122 $MKFILE 100m /$TESTDIR/disk-additional.dat
123 $MKFILE 100m /$TESTDIR/disk-export.dat
124 $MKFILE 100m /$TESTDIR/disk-offline.dat
125 $MKFILE 100m /$TESTDIR/disk-spare1.dat
126 $MKFILE 100m /$TESTDIR/disk-spare2.dat
130 log_must $ZPOOL create $TESTPOOL.virt mirror /$TESTDIR/disk
[all...]
/titanic_51/usr/src/test/zfs-tests/tests/functional/casenorm/
H A Dcasenorm.kshlib23 $RM -rf $TESTDIR || log_unresolved Could not remove $TESTDIR
24 $MKDIR -p $TESTDIR || log_unresolved Could not create $TESTDIR
27 log_must $ZFS set mountpoint=$TESTDIR $TESTPOOL/$TESTFS
34 $RM -rf $TESTDIR || log_unresolved Could not remove $TESTDIR
40 typeset name=$TESTDIR/$1
47 typeset name=$TESTDIR/$1
64 $ZLOOK -l $TESTDIR
[all...]
/titanic_51/usr/src/test/zfs-tests/tests/functional/replacement/
H A Dreplacement_002_pos.ksh61 [[ -e $TESTDIR ]] && log_must $RM -rf $TESTDIR/*
98 $FILE_TRUNC $options $TESTDIR/$TESTFILE.$i &
103 log_fail "$FILE_TRUNC $options $TESTDIR/$TESTFILE.$i"
121 log_must $ZPOOL import -d $TESTDIR $TESTPOOL1
131 $MKFILE 100m $TESTDIR/$TESTFILE1.$i
132 specials_list="$specials_list $TESTDIR/$TESTFILE1.$i"
140 $MKFILE 100m $TESTDIR/$REPLACEFILE
147 attach_test "$opt" $TESTDIR/$TESTFILE1.1 $TESTDIR/
[all...]
H A Dreplacement_001_pos.ksh61 [[ -e $TESTDIR ]] && log_must $RM -rf $TESTDIR/*
98 $FILE_TRUNC $options $TESTDIR/$TESTFILE.$i &
103 log_fail "$FILE_TRUNC $options $TESTDIR/$TESTFILE.$i"
121 log_must $ZPOOL import -d $TESTDIR $TESTPOOL1
131 $MKFILE 100m $TESTDIR/$TESTFILE1.$i
132 specials_list="$specials_list $TESTDIR/$TESTFILE1.$i"
140 $MKFILE 100m $TESTDIR/$REPLACEFILE
148 replace_test "$opt" $TESTDIR/$TESTFILE1.1 $TESTDIR/
[all...]
H A Dreplacement_003_pos.ksh61 [[ -e $TESTDIR ]] && log_must $RM -rf $TESTDIR/*
96 $FILE_TRUNC $options $TESTDIR/$TESTFILE.$i &
101 log_fail "$FILE_TRUNC $options $TESTDIR/$TESTFILE.$i"
119 log_must $ZPOOL import -d $TESTDIR $TESTPOOL1
128 $MKFILE 100m $TESTDIR/$TESTFILE1.$i
129 specials_list="$specials_list $TESTDIR/$TESTFILE1.$i"
138 detach_test $TESTDIR/$TESTFILE1.1
140 $ZPOOL iostat -v $TESTPOOL1 | grep "$TESTDIR/$TESTFILE1.1"
154 log_mustnot $ZPOOL detach $TESTDIR/
[all...]
/titanic_51/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_add/
H A Dzpool_add_006_pos.ksh55 [[ -d $TESTDIR ]] && log_must $RM -rf $TESTDIR
63 log_must $ZFS create -o mountpoint=$TESTDIR $TESTPOOL/$TESTFS
64 log_must $MKFILE 64m $TESTDIR/file.00
65 create_pool "$TESTPOOL1" "$TESTDIR/file.00"
67 vdevs_list=$($ECHO $TESTDIR/file.{01..32})
74 log_must $MKFILE 32m $TESTDIR/broken_file
75 log_mustnot $ZPOOL add -f "$TESTPOOL1" ${TESTDIR}/broken_file
76 log_mustnot vdevs_in_pool "$TESTPOOL1" "${TESTDIR}/broken_file"
/titanic_51/usr/src/test/zfs-tests/tests/functional/history/
H A DMakefile19 TESTDIR = $(ROOTOPTPKG)/tests/functional/history macro
43 CMDS = $(PROGS:%=$(TESTDIR)/%) $(FILES:%=$(TESTDIR)/%)
46 DATA = $(DATAFILES:%=$(TESTDIR)/%)
53 $(CMDS): $(TESTDIR)
55 $(DATA): $(TESTDIR)
57 $(TESTDIR):
60 $(TESTDIR)/%: %.ksh
63 $(TESTDIR)/%: %
/titanic_51/usr/src/test/zfs-tests/tests/functional/reservation/
H A DMakefile19 TESTDIR = $(ROOTOPTPKG)/tests/functional/reservation macro
45 CMDS = $(PROGS:%=$(TESTDIR)/%) $(FILES:%=$(TESTDIR)/%)
52 $(CMDS): $(TESTDIR)
54 $(TESTDIR):
57 $(TESTDIR)/%: %.sh
60 $(TESTDIR)/%: %.ksh
63 $(TESTDIR)/%: %
/titanic_51/usr/src/test/zfs-tests/tests/functional/cli_user/zfs_list/
H A Dzfs_list_001_pos.ksh78 set -A pathargs "list -r $TESTDIR" "list -H $TESTDIR" \
79 "list -r ./../$TESTDIR" "list -H ./../$TESTDIR"
81 set -A d_pathargs " $TESTDIR" "-r $TESTDIR" "-H $TESTDIR" \
82 "-r ./../$TESTDIR" "-H ./../$TESTDIR"
/titanic_51/usr/src/test/zfs-tests/tests/functional/acl/nontrivial/
H A Dzfs_acl_aclmode_restricted_001_neg.ksh67 log_must usr_exec $MKDIR $TESTDIR/testdir
68 log_must usr_exec $TOUCH $TESTDIR/testfile
72 $TESTDIR/testdir $TESTDIR/testfile
74 log_mustnot usr_exec $CHMOD u-w $TESTDIR/testdir
75 log_mustnot usr_exec $CHMOD u-w $TESTDIR/testfile
77 log_must usr_exec $RMDIR $TESTDIR/testdir
78 log_must usr_exec $RM $TESTDIR/testfile
/titanic_51/usr/src/test/zfs-tests/tests/functional/largest_pool/
H A DMakefile19 TESTDIR = $(ROOTOPTPKG)/tests/functional/largest_pool macro
25 CMDS = $(PROGS:%=$(TESTDIR)/%) $(FILES:%=$(TESTDIR)/%)
32 $(CMDS): $(TESTDIR)
34 $(TESTDIR):
37 $(TESTDIR)/%: %.ksh
40 $(TESTDIR)/%: %
/titanic_51/usr/src/test/zfs-tests/tests/functional/grow_replicas/
H A DMakefile19 TESTDIR = $(ROOTOPTPKG)/tests/functional/grow_replicas macro
25 CMDS = $(PROGS:%=$(TESTDIR)/%) $(FILES:%=$(TESTDIR)/%)
32 $(CMDS): $(TESTDIR)
34 $(TESTDIR):
37 $(TESTDIR)/%: %.ksh
40 $(TESTDIR)/%: %
/titanic_51/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_destroy/
H A DMakefile19 TESTDIR = $(ROOTOPTPKG)/tests/functional/cli_root/zpool_destroy macro
27 CMDS = $(PROGS:%=$(TESTDIR)/%) $(FILES:%=$(TESTDIR)/%)
34 $(CMDS): $(TESTDIR)
36 $(TESTDIR):
39 $(TESTDIR)/%: %
42 $(TESTDIR)/%: %.ksh

12345678910>>...16