• Home
  • Raw
  • Download

Lines Matching full:dir

71 mkdir dir
72 testing "create dir" "$TAR dir | SUM 3" \
75 testing "pass dir" "$TAR dir | LST" \
76 "drwxrwxr-x root/root 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 "create file in dir" "$TAR dir/file | SUM 3" \
84 testing "create dir and dir/file" "$TAR dir | SUM 3" \
87 testing "pass dir/file" "$TAR dir | LST" \
88 …"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"…
90 echo boing > dir/that
91 testing "tar C" "$TAR -C dir that | SUM 3" \
95 ln -s ../name.././.. dir/link
96 testing "create symlink" "$TAR dir/link | SUM 3" \
100 ln dir/file dir/hardlink
101 testing "create hardlink" "$TAR dir/file dir/hardlink | SUM 3" \
104 ln dir/link dir/hlink
105 testing "create hardlink to symlink" "$TAR dir/link dir/hlink | SUM 3" \
108 skipnot mkfifo dir/fifo
109 testing "create dir/fifo" "$TAR dir/fifo | SUM 3" \
115 touch dir/${LONG:1:96} dir/${LONG:1:97}
116 testing "create long fname" "$TAR dir/${LONG:1:97} dir/${LONG:1:96} | SUM 3" \
119 ln -s dir/${LONG:1:96} dir/lshort
120 ln -s dir/${LONG:1:97} dir/llong
121 testing "create long symlnk" "$TAR dir/lshort dir/llong | SUM 3" \
124 ln -s $LONG dir/${LONG:5}
125 testing "create long->long" "$TAR dir/${LONG:5} | SUM 7" \
129 ln -s file dir/linkok
130 testing "create symlink" "$TAR dir/linkok | SUM 3" \
133 ln -s /dev/null dir/linknull
134 testing "pass absolute symlink" "$TAR dir/linknull | LST" \
135 "lrwxrwxrwx root/root 0 2009-02-13 23:31 dir/linknull -> /dev/null\n" "" ""
137 ln -s rel/broken dir/relbrok
138 testing "pass broken symlink" "$TAR dir/relbrok | LST" \
139 "lrwxrwxrwx root/root 0 2009-02-13 23:31 dir/relbrok -> rel/broken\n" "" ""
141 ln -s /does/not/exist dir/linkabsbrok
142 testing "pass broken absolute symlink" "$TAR dir/linkabsbrok | LST" \
143 "lrwxrwxrwx root/root 0 2009-02-13 23:31 dir/linkabsbrok -> /does/not/exist\n" \
154 "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" \
158 "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" \
161 skipnot mknod dir/char c 12 34
162 …haracter special" "tar --mtime @0 -cf test.tar dir/char && rm -f dir/char && tar xf test.tar && ls…
163 "crw-rw---- 1 root root 12, 34 1970-01-01 00:00 dir/char\n" "" ""
165 skipnot mknod dir/block b 23 45
166 … "block special" "tar --mtime @0 -cf test.tar dir/block && rm -f dir/block && tar xf test.tar && l…
167 "brw-rw---- 1 root root 23, 45 1970-01-01 00:00 dir/block\n" "" ""
169 skipnot chown nobody dir/file
170 testing "ownership" "$TAR dir/file | SUM 3" \
183 testing "extract dir/file from tar" \
184 "tar xvCf dd $FILES/tar/tar.tar && stat -c '%A %Y %n' dd/dir dd/dir/file" \
185 "dir/\ndir/file\ndrwxr-x--- 1494637555 dd/dir\n-rw-r----- 1494637555 dd/dir/file\n" \
188 testing "extract dir/file from tgz (autodetect)" \
189 "tar xvCf dd $FILES/tar/tar.tgz && stat -c '%A %Y %n' dd/dir dd/dir/file" \
190 "dir/\ndir/file\ndrwxr-x--- 1494637555 dd/dir\n-rw-r----- 1494637555 dd/dir/file\n" \
193 toyonly testing "cat tgz | extract dir/file (autodetect)" \
194 "cat $FILES/tar/tar.tgz | tar xvC dd && stat -c '%A %Y %n' dd/dir dd/dir/file" \
195 "dir/\ndir/file\ndrwxr-x--- 1494637555 dd/dir\n-rw-r----- 1494637555 dd/dir/file\n" \
198 testing "extract dir/file from tbz2 (autodetect)" \
199 "tar xvCf dd $FILES/tar/tar.tbz2 && 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 toyonly testing "cat tbz | extract dir/file (autodetect)" \
204 "cat $FILES/tar/tar.tbz2 | tar xvC dd && 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" \
250 chmod 700 dir
251 tar cpf tar.tgz dir/file
252 #chmod 700 dir
254 #ls -ld dir/file
256 # restore ownership of file, dir, and symlink
266 # add dir with no trailing slash
268 # extract dir/file without dir in tarball
279 # extract file within dir date correct