• Home
  • Raw
  • Download

Lines Matching full:dir

72 mkdir dir
73 testing "store dir" "$TAR dir | SUM 3" \
75 testing "pass dir" "$TAR dir | LST" \
76 "drwxrwxr-x root/sys 0 2009-02-13 23:31 dir/\n" "" ""
78 # note: does _not_ include dir entry in archive, just file
79 touch dir/file
80 testing "store file in dir" "$TAR dir/file | SUM 3" \
84 testing "store dir and dir/file" "$TAR dir | SUM 3" \
87 testing "pass dir/file" "$TAR dir | LST" \
88 …"drwxrwxr-x root/sys 0 2009-02-13 23:31 dir/\n-rw-rw-r-- root/sys 0 2009-02-13 23:31 dir/file\n" "…
90 echo boing > dir/that
91 testing "tar C" "$TAR -C dir that | SUM 3" \
94 ln dir/file dir/hardlink
95 testing "store hardlink" "$TAR dir/file dir/hardlink | SUM 3" \
98 skipnot mkfifo dir/fifo 2>/dev/null
99 testing "create dir/fifo" "$TAR dir/fifo | SUM 3" \
105 touch dir/${LONG:1:96} dir/${LONG:1:97}
106 testing "create long fname" "$TAR dir/${LONG:1:97} dir/${LONG:1:96} | SUM 3" \
113 ln -s ../name.././.. dir/link
114 testing "create symlink" "$TAR dir/link | SUM 3" \
117 ln dir/link dir/hlink
118 testing "create hardlink to symlink" "$TAR dir/link dir/hlink | SUM 3" \
121 ln -s dir/${LONG:1:96} dir/lshort
122 ln -s dir/${LONG:1:97} dir/llong
123 testing "create long symlink" "$TAR dir/lshort dir/llong | SUM 3" \
126 ln -s $LONG dir/${LONG:5}
127 testing "create long->long" "$TAR dir/${LONG:5} | SUM 7" \
131 ln -s file dir/linkok
132 testing "create symlink" "$TAR dir/linkok | SUM 3" \
140 ln -s /dev/null dir/linknull
141 testing "pass absolute symlink" "$TAR dir/linknull | LST" \
142 "$symlink_perms root/sys 0 2009-02-13 23:31 dir/linknull -> /dev/null\n" "" ""
144 ln -s rel/broken dir/relbrok
145 testing "pass broken symlink" "$TAR dir/relbrok | LST" \
146 "$symlink_perms root/sys 0 2009-02-13 23:31 dir/relbrok -> rel/broken\n" "" ""
148 ln -s /does/not/exist dir/linkabsbrok
149 testing "pass broken absolute symlink" "$TAR dir/linkabsbrok | LST" \
150 "$symlink_perms root/sys 0 2009-02-13 23:31 dir/linkabsbrok -> /does/not/exist\n" \
165 "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" \
169 "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 "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" \
179 skipnot mknod -m 660 dir/char c 12 34 2>/dev/null && chgrp sys dir/char
180 …er special" "tar --mtime @0 -cf test.tar dir/char && rm -f dir/char && tar xf test.tar && ls -l --…
181 "crw-rw---- 1 root sys 12, 34 1970-01-01 00:00:00.000000000 +0000 dir/char\n"\
184 skipnot mknod -m 660 dir/block b 23 45 2>/dev/null && chgrp sys dir/block
185 …k special" "tar --mtime @0 -cf test.tar dir/block && rm -f dir/block && tar xf test.tar && ls -l -…
186 "brw-rw---- 1 root sys 23, 45 1970-01-01 00:00:00.000000000 +0000 dir/block\n"\
189 skipnot chown nobody:nogroup dir/file 2>/dev/null
190 testing "ownership" "$TAR dir/file | SUM 3" \
203 testing "extract dir/file from tar" \
204 "tar xvCf dd $FILES/tar/tar.tar && 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 testing "extract dir/file from tgz (autodetect)" \
209 "tar xvCf dd $FILES/tar/tar.tgz && 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 toyonly testing "cat tgz | extract dir/file (autodetect)" \
214 "cat $FILES/tar/tar.tgz | tar xvC dd && 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 testing "extract dir/file from tbz2 (autodetect)" \
219 "tar xvCf dd $FILES/tar/tar.tbz2 && 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" \
223 toyonly testing "cat tbz | extract dir/file (autodetect)" \
224 "cat $FILES/tar/tar.tbz2 | tar xvC dd && stat -c '%A %Y %n' dd/dir dd/dir/file" \
225 "dir/\ndir/file\ndrwxr-x--- 1494637555 dd/dir\n-rw-r----- 1494637555 dd/dir/file\n" \
231 "PATH=path; tar tf $FILES/tar/tar.tgz" "dir/\ndir/file\n" "" ""
301 testcmd 'replace dir with file' '-xf test.tar && cat one/two/three' \
427 chmod 700 dir
428 tar cpf tar.tgz dir/file
429 #chmod 700 dir
431 #ls -ld dir/file
433 # restore ownership of file, dir, and symlink
443 # add dir with no trailing slash
445 # extract dir/file without dir in tarball
456 # extract file within dir date correct