Lines Matching full:dir

76 mkdir dir
77 testing "create dir" "$TAR dir | SUM 3" \
80 testing "pass dir" "$TAR dir | LST" \
81 "drwxrwxr-x root/root 0 2009-02-13 23:31 dir/\n" "" ""
83 # note: does _not_ include dir entry in archive, just file
84 touch dir/file
85 testing "create file in dir" "$TAR dir/file | SUM 3" \
89 testing "create dir and dir/file" "$TAR dir | SUM 3" \
92 testing "pass dir/file" "$TAR dir | LST" \
93 …"drwxrwxr-x root/root 0 2009-02-13 23:31 dir/\n-rw-rw-r-- root/root 0 2009-02-13 23:31 dir/file\n"…
95 echo boing > dir/that
96 testing "tar C" "$TAR -C dir that | SUM 3" \
100 ln -s ../name.././.. dir/link
101 testing "create symlink" "$TAR dir/link | SUM 3" \
105 ln dir/file dir/hardlink
106 testing "create hardlink" "$TAR dir/file dir/hardlink | SUM 3" \
109 ln dir/link dir/hlink
110 testing "create hardlink to symlink" "$TAR dir/link dir/hlink | SUM 3" \
113 skipnot mkfifo dir/fifo 2>/dev/null
114 testing "create dir/fifo" "$TAR dir/fifo | SUM 3" \
120 touch dir/${LONG:1:96} dir/${LONG:1:97}
121 testing "create long fname" "$TAR dir/${LONG:1:97} dir/${LONG:1:96} | SUM 3" \
124 ln -s dir/${LONG:1:96} dir/lshort
125 ln -s dir/${LONG:1:97} dir/llong
126 testing "create long symlnk" "$TAR dir/lshort dir/llong | SUM 3" \
129 ln -s $LONG dir/${LONG:5}
130 testing "create long->long" "$TAR dir/${LONG:5} | SUM 7" \
134 ln -s file dir/linkok
135 testing "create symlink" "$TAR dir/linkok | SUM 3" \
138 ln -s /dev/null dir/linknull
139 testing "pass absolute symlink" "$TAR dir/linknull | LST" \
140 "lrwxrwxrwx root/root 0 2009-02-13 23:31 dir/linknull -> /dev/null\n" "" ""
142 ln -s rel/broken dir/relbrok
143 testing "pass broken symlink" "$TAR dir/relbrok | LST" \
144 "lrwxrwxrwx root/root 0 2009-02-13 23:31 dir/relbrok -> rel/broken\n" "" ""
146 ln -s /does/not/exist dir/linkabsbrok
147 testing "pass broken absolute symlink" "$TAR dir/linkabsbrok | LST" \
148 "lrwxrwxrwx root/root 0 2009-02-13 23:31 dir/linkabsbrok -> /does/not/exist\n" \
162 "drwxr-x--- enh/eng 0 2017-05-13 01:05 dir/\n-rw-r----- enh/eng 12 2017-05-13 01:05 dir/file\n" \
166 "drwxr-x--- enh/eng 0 2017-05-13 01:05 dir/\n-rw-r----- enh/eng 12 2017-05-13 01:05 dir/file\n" \
173 "drwxr-x--- enh/eng 0 2017-05-13 01:05 dir/\n-rw-r----- enh/eng 12 2017-05-13 01:05 dir/file\n" \
176 skipnot mknod dir/char c 12 34 2>/dev/null
177 …haracter special" "tar --mtime @0 -cf test.tar dir/char && rm -f dir/char && tar xf test.tar && ls…
178 "crw-rw---- 1 root root 12, 34 1970-01-01 00:00 dir/char\n" "" ""
180 skipnot mknod dir/block b 23 45 2>/dev/null
181 … "block special" "tar --mtime @0 -cf test.tar dir/block && rm -f dir/block && tar xf test.tar && l…
182 "brw-rw---- 1 root root 23, 45 1970-01-01 00:00 dir/block\n" "" ""
184 skipnot chown nobody dir/file 2>/dev/null
185 testing "ownership" "$TAR dir/file | SUM 3" \
198 testing "extract dir/file from tar" \
199 "tar xvCf dd $FILES/tar/tar.tar && stat -c '%A %Y %n' dd/dir dd/dir/file" \
200 "dir/\ndir/file\ndrwxr-x--- 1494637555 dd/dir\n-rw-r----- 1494637555 dd/dir/file\n" \
203 testing "extract dir/file from tgz (autodetect)" \
204 "tar xvCf dd $FILES/tar/tar.tgz && stat -c '%A %Y %n' dd/dir dd/dir/file" \
205 "dir/\ndir/file\ndrwxr-x--- 1494637555 dd/dir\n-rw-r----- 1494637555 dd/dir/file\n" \
208 toyonly testing "cat tgz | extract dir/file (autodetect)" \
209 "cat $FILES/tar/tar.tgz | tar xvC dd && stat -c '%A %Y %n' dd/dir dd/dir/file" \
210 "dir/\ndir/file\ndrwxr-x--- 1494637555 dd/dir\n-rw-r----- 1494637555 dd/dir/file\n" \
213 testing "extract dir/file from tbz2 (autodetect)" \
214 "tar xvCf dd $FILES/tar/tar.tbz2 && stat -c '%A %Y %n' dd/dir dd/dir/file" \
215 "dir/\ndir/file\ndrwxr-x--- 1494637555 dd/dir\n-rw-r----- 1494637555 dd/dir/file\n" \
218 toyonly testing "cat tbz | extract dir/file (autodetect)" \
219 "cat $FILES/tar/tar.tbz2 | tar xvC dd && stat -c '%A %Y %n' dd/dir dd/dir/file" \
220 "dir/\ndir/file\ndrwxr-x--- 1494637555 dd/dir\n-rw-r----- 1494637555 dd/dir/file\n" \
284 testcmd 'replace dir with file' '-xf test.tar && cat one/two/three' \
291 chmod 700 dir
292 tar cpf tar.tgz dir/file
293 #chmod 700 dir
295 #ls -ld dir/file
297 # restore ownership of file, dir, and symlink
307 # add dir with no trailing slash
309 # extract dir/file without dir in tarball
320 # extract file within dir date correct