Home | History | Annotate | Line # | Download | only in test
      1 begin 644 test_list_item.tar
      2 M9@``````````````````````````````````````````````````````````
      3 M````````````````````````````````````````````````````````````
      4 M`````````````#`P,#8T-"``,#`Q-S4P(``P,#$W-3`@`#`P,#`P,#`P,#`P
      5 M(#`R,C8S-C$S,C`Q(#`P-S0P-P`@,```````````````````````````````
      6 M````````````````````````````````````````````````````````````
      7 M``````````````````````````````````````````!U<W1A<@`P,```````
      8 M````````````````````````````````````````````````````````````
      9 M```````````````````P,#`P,#`@`#`P,#`P,"``````````````````````
     10 M````````````````````````````````````````````````````````````
     11 M````````````````````````````````````````````````````````````
     12 M````````````````````````````````````````````````````````````
     13 M``````````````````````!H;```````````````````````````````````
     14 M````````````````````````````````````````````````````````````
     15 M````````````````````````````````````,#`P-C0T(``P,#$W-3`@`#`P
     16 M,3<U,"``,#`P,#`P,#`P,#`@,#(R-C,V,3,R,#$@,#`W-S,T`"`Q9@``````
     17 M````````````````````````````````````````````````````````````
     18 M````````````````````````````````````````````````````````````
     19 M`````'5S=&%R`#`P````````````````````````````````````````````
     20 M`````````````````````````````````````````#`P,#`P,"``,#`P,#`P
     21 M(```````````````````````````````````````````````````````````
     22 M````````````````````````````````````````````````````````````
     23 M````````````````````````````````````````````````````````````
     24 M`````````````````````````````````````````````'-L````````````
     25 M````````````````````````````````````````````````````````````
     26 M```````````````````````````````````````````````````````````P
     27 M,#`W-34@`#`P,3<U,"``,#`Q-S4P(``P,#`P,#`P,#`P,"`P,C(V,S8Q,S(P
     28 M,2`P,#<W-3,`(#)F````````````````````````````````````````````
     29 M````````````````````````````````````````````````````````````
     30 M````````````````````````````=7-T87(`,#``````````````````````
     31 M````````````````````````````````````````````````````````````
     32 M````,#`P,#`P(``P,#`P,#`@````````````````````````````````````
     33 M````````````````````````````````````````````````````````````
     34 M````````````````````````````````````````````````````````````
     35 M````````````````````````````````````````````````````````````
     36 M````````9"\`````````````````````````````````````````````````
     37 M````````````````````````````````````````````````````````````
     38 M`````````````````````#`P,#<W-R``,#`Q-S4P(``P,#$W-3`@`#`P,#`P
     39 M,#`P,#`P(#`R,C8S-C$S,C`Q(#`P-S4P,``@-0``````````````````````
     40 M````````````````````````````````````````````````````````````
     41 M``````````````````````````````````````````````````!U<W1A<@`P
     42 M,```````````````````````````````````````````````````````````
     43 M```````````````````````````P,#`P,#`@`#`P,#`P,"``````````````
     44 M````````````````````````````````````````````````````````````
     45 M````````````````````````````````````````````````````````````
     46 M````````````````````````````````````````````````````````````
     47 M``````````````````````````````!D+V8`````````````````````````
     48 M````````````````````````````````````````````````````````````
     49 M````````````````````````````````````````````,#`P-#`P(``P,#$W
     50 M-3`@`#`P,3<U,"``,#`P,#`P,#`P,#`@,#(R-C,V,3,R,#$@,#`W-C(P`"`P
     51 M````````````````````````````````````````````````````````````
     52 M````````````````````````````````````````````````````````````
     53 M`````````````'5S=&%R`#`P````````````````````````````````````
     54 M`````````````````````````````````````````````````#`P,#`P,"``
     55 M,#`P,#`P(```````````````````````````````````````````````````
     56 M````````````````````````````````````````````````````````````
     57 M````````````````````````````````````````````````````````````
     58 M`````````````````````````````````````````````````````&9A:V4M
     59 M=7-E<FYA;64`````````````````````````````````````````````````
     60 M````````````````````````````````````````````````````````````
     61 M```````P,#`V-#0@`#`P,3<U,"``,#`Q-S4P(``P,#`P,#`P,#`P,"`P,C(V
     62 M,S8Q,S(P,2`P,30U-S0`(#``````````````````````````````````````
     63 M````````````````````````````````````````````````````````````
     64 M````````````````````````````````````=7-T87(`,#!L;VYG+69A:V4M
     65 M=6YA;64`````````````````````````````````````````````````````
     66 M````````````,#`P,#`P(``P,#`P,#`@````````````````````````````
     67 M````````````````````````````````````````````````````````````
     68 M````````````````````````````````````````````````````````````
     69 M````````````````````````````````````````````````````````````
     70 M````````````````9F%K92UG<F]U<&YA;64`````````````````````````
     71 M````````````````````````````````````````````````````````````
     72 M`````````````````````````````#`P,#8T-"``,#`Q-S4P(``P,#$W-3`@
     73 M`#`P,#`P,#`P,#`P(#`R,C8S-C$S,C`Q(#`Q-#<S-``@,```````````````
     74 M````````````````````````````````````````````````````````````
     75 M``````````````````````````````````````````````````````````!U
     76 M<W1A<@`P,```````````````````````````````````````````;&]N9RUF
     77 M86ME+6=N86UE```````````````````````P,#`P,#`@`#`P,#`P,"``````
     78 M````````````````````````````````````````````````````````````
     79 M````````````````````````````````````````````````````````````
     80 M````````````````````````````````````````````````````````````
     81 M``````````````````````````````````````!F````````````````````
     82 M````````````````````````````````````````````````````````````
     83 M````````````````````````````````````````````````````,#`P-C0T
     84 M(``P,#$W-3`@`#`P,3<U,"``,#`P,#`P,#`P,#`@,#(R-C,V,3,R,#$@,#`W
     85 M-#`W`"`P````````````````````````````````````````````````````
     86 M````````````````````````````````````````````````````````````
     87 M`````````````````````'5S=&%R`#`P````````````````````````````
     88 M`````````````````````````````````````````````````````````#`P
     89 M,#`P,"``,#`P,#`P(```````````````````````````````````````````
     90 M````````````````````````````````````````````````````````````
     91 M````````````````````````````````````````````````````````````
     92 M````````````````````````````````````````````````````````````
     93 M````````````````````````````````````````````````````````````
     94 M````````````````````````````````````````````````````````````
     95 M````````````````````````````````````````````````````````````
     96 M````````````````````````````````````````````````````````````
     97 M````````````````````````````````````````````````````````````
     98 M````````````````````````````````````````````````````````````
     99 M````````````````````````````````````````````````````````````
    100 M````````````````````````````````````````````````````````````
    101 M````````````````````````````````````````````````````````````
    102 M````````````````````````````````````````````````````````````
    103 M````````````````````````````````````````````````````````````
    104 M````````````````````````````````````````````````````````````
    105 M````````````````````````````````````````````````````````````
    106 M````````````````````````````````````````````````````````````
    107 M````````````````````````````````````````````````````````````
    108 M````````````````````````````````````````````````````````````
    109 M````````````````````````````````````````````````````````````
    110 M````````````````````````````````````````````````````````````
    111 M````````````````````````````````````````````````````````````
    112 M````````````````````````````````````````````````````````````
    113 M````````````````````````````````````````````````````````````
    114 M````````````````````````````````````````````````````````````
    115 C````````````````````````````````````````````````
    116 `
    117 end
    118 #!/bin/sh
    119 
    120 set -e
    121 
    122 mkdir test-list-item
    123 cd test-list-item
    124 
    125 # Create files
    126 touch f
    127 ln f hl
    128 ln -s f sl
    129 
    130 mkdir d
    131 chmod 777 d
    132 touch d/f
    133 chmod 400 d/f
    134 
    135 touch fake-username
    136 touch fake-groupname
    137 
    138 # Set all the dates to 1980
    139 touch -d "1980-01-01T00:00:01" -h -a -m ./*
    140 touch -d "1980-01-01T00:00:01" -h -a -m d/*
    141 
    142 # Archive
    143 tar -cf test_list_item.tar				\
    144 	--uid 1000 --gid 1000				\
    145 	f hl sl d
    146 
    147 # Append to archive, with fake username and groupname
    148 tar --append -f test_list_item.tar			\
    149 	--uid 1000 --gid 1000				\
    150 	--uname long-fake-uname				\
    151 	fake-username
    152 tar --append -f test_list_item.tar			\
    153 	--uid 1000 --gid 1000				\
    154 	--gname long-fake-gname				\
    155 	fake-groupname
    156 # Add f again, to print with the expanded field lengths
    157 tar --append -f test_list_item.tar			\
    158 	--uid 1000 --gid 1000				\
    159 	f
    160 
    161 # uuencode for the test suite
    162 uuencode -o test_list_item.tar.uu test_list_item.tar test_list_item.tar
    163 
    164 # Append this script, and overwrite file in git
    165 cat ../"$0" >> test_list_item.tar.uu
    166 mv test_list_item.tar.uu ../
    167 
    168 # Don't delete the temporary directory; leave that up to the developer to
    169 # delete manually when they want to.
    170