Lines Matching refs:ar

35 	ROD ar -cr lib.a $TST_DATAROOT/file1.in $TST_DATAROOT/file3.in
36 ROD ar -ra file1.in lib.a $TST_DATAROOT/file2.in
37 ROD ar -t lib.a \> ar.out
39 printf "file1.in\nfile2.in\nfile3.in\n" > ar.exp
41 if diff ar.out ar.exp >/dev/null; then
45 cat ar.out
53 ROD ar -cr lib.a $TST_DATAROOT/file1.in $TST_DATAROOT/file2.in \
55 ROD ar -ma file1.in lib.a file4.in
56 ROD ar -t lib.a \> ar.out
58 printf "file1.in\nfile4.in\nfile2.in\nfile3.in\n" > ar.exp
60 if diff ar.out ar.exp > /dev/null; then
64 cat ar.out
72 ROD ar -cr lib.a $TST_DATAROOT/file1.in $TST_DATAROOT/file3.in
73 ROD ar -rb file3.in lib.a $TST_DATAROOT/file2.in
74 ROD ar -t lib.a \> ar.out
76 printf "file1.in\nfile2.in\nfile3.in\n" > ar.exp
78 if diff ar.out ar.exp; then
82 cat ar.out
90 ROD ar -cr lib.a $TST_DATAROOT/file1.in $TST_DATAROOT/file3.in \
92 ROD ar -mb file3.in lib.a file2.in
93 ROD ar -t lib.a \> ar.out
95 printf "file1.in\nfile2.in\nfile3.in\n" > ar.exp
97 if diff ar.out ar.exp > /dev/null; then
101 cat ar.out
109 ROD ar -cr lib.a $TST_DATAROOT/file1.in \> ar.out
111 if [ -s ar.out ]; then
113 cat ar.out
123 ROD ar -qc lib.a $TST_DATAROOT/file1.in \> ar.out
125 if [ -s ar.out ]; then
127 cat ar.out
137 ROD ar -cr lib.a $TST_DATAROOT/file1.in $TST_DATAROOT/file2.in \
139 ROD ar -d lib.a file1.in file2.in
140 ROD ar -t lib.a \> ar.out
142 printf "file3.in\n" > ar.exp
144 if diff ar.out ar.exp > /dev/null; then
148 cat ar.out
156 ROD ar -cr lib.a $TST_DATAROOT/file1.in $TST_DATAROOT/file2.in \
158 ROD ar -d lib.a
159 ROD ar -t lib.a \> ar.out
161 printf "file1.in\nfile2.in\nfile3.in\n" > ar.exp
163 if diff ar.out ar.exp > /dev/null; then
167 cat ar.out
175 ROD ar -cr lib.a $TST_DATAROOT/file1.in $TST_DATAROOT/file3.in
176 ROD ar -ri file3.in lib.a $TST_DATAROOT/file2.in
177 ROD ar -t lib.a \> ar.out
179 printf "file1.in\nfile2.in\nfile3.in\n" > ar.exp
181 if diff ar.out ar.exp >/dev/null; then
185 cat ar.out
193 ROD ar -cr lib.a $TST_DATAROOT/file1.in $TST_DATAROOT/file3.in \
195 ROD ar -mi file3.in lib.a file2.in
196 ROD ar -t lib.a \> ar.out
198 printf "file1.in\nfile2.in\nfile3.in\n" > ar.exp
200 if diff ar.out ar.exp > /dev/null; then
204 cat ar.out
212 ROD ar -cr lib.a $TST_DATAROOT/file1.in $TST_DATAROOT/file3.in \
214 ROD ar -m lib.a file3.in
215 ROD ar -t lib.a \> ar.out
217 printf "file1.in\nfile2.in\nfile3.in\n" > ar.exp
219 if diff ar.out ar.exp > /dev/null; then
223 cat ar.out
231 ROD ar -cr lib.a $TST_DATAROOT/file1.in $TST_DATAROOT/file2.in \
233 ROD ar -p lib.a \> ar.out
235 printf "This is file one\nThis is file two\nThis is file three\n" > ar.exp
237 if diff ar.out ar.exp > /dev/null; then
241 cat ar.out
250 ROD ar -cr lib.a $TST_DATAROOT/file1.in $TST_DATAROOT/file2.in \
252 ROD ar -q lib.a $TST_DATAROOT/file4.in
253 ROD ar -t lib.a \> ar.out
255 printf "file1.in\nfile2.in\nfile3.in\nfile4.in\n" > ar.exp
257 if diff ar.out ar.exp > /dev/null; then
261 cat ar.out
270 ROD ar -cr lib.a file0.in $TST_DATAROOT/file1.in
272 file0_mtime1=$(ar -tv lib.a | grep file0.in)
273 file1_mtime1=$(ar -tv lib.a | grep file1.in)
277 ROD ar -ru lib.a file0.in $TST_DATAROOT/file1.in
279 file0_mtime2=$(ar -tv lib.a | grep file0.in)
280 file1_mtime2=$(ar -tv lib.a | grep file1.in)
299 ROD ar -cr lib.a $TST_DATAROOT/file1.in
300 ROD ar -tv lib.a \> ar.out
302 if grep -q '[rwx-]\{9\} [0-9].*/[0-9].*\s*[0-9].*.*file1.in' ar.out; then
306 cat ar.out
314 ROD ar -cr lib.a $TST_DATAROOT/file1.in $TST_DATAROOT/file2.in \
316 ROD ar -xv lib.a \> ar.out
318 printf "x - file1.in\nx - file2.in\nx - file3.in\n" > ar.exp
320 if diff ar.out ar.exp > /dev/null; then
324 cat ar.out
338 ROD ar -cr lib.a $TST_DATAROOT/file1.in $TST_DATAROOT/file2.in
339 ROD ar -xv lib.a file2.in \> ar.out
341 printf "x - file2.in\n" > ar.exp
343 if diff ar.out ar.exp > /dev/null; then
347 cat ar.out