Lines Matching refs:tmp
110 @$(RM) -rf core *.o *.test tmp* \
201 ls -ls tmp*
215 @echo -n > tmp-lfc-empty
216 @echo hi > tmp-lfc-nonempty
217 cat tmp-lfc-nonempty tmp-lfc-empty tmp-lfc-nonempty > tmp-lfc-src
218 $(LZ4) -zq tmp-lfc-empty -c > tmp-lfc-empty.lz4
219 $(LZ4) -zq tmp-lfc-nonempty -c > tmp-lfc-nonempty.lz4
220 cat tmp-lfc-nonempty.lz4 tmp-lfc-empty.lz4 tmp-lfc-nonempty.lz4 > tmp-lfc-concat.lz4
221 $(LZ4) -d tmp-lfc-concat.lz4 -c > tmp-lfc-result
222 $(CMP) tmp-lfc-src tmp-lfc-result
223 @$(RM) tmp-lfc-*
228 @./datagen -s1 > tmp-tlm1 2> $(VOID)
229 @./datagen -s2 -g100K > tmp-tlm2 2> $(VOID)
230 @./datagen -s3 -g200K > tmp-tlm3 2> $(VOID)
232 $(LZ4) -f -m tmp-tlm*
233 test -f tmp-tlm1.lz4
234 test -f tmp-tlm2.lz4
235 test -f tmp-tlm3.lz4
237 mv tmp-tlm1 tmp-tlm1-orig
238 mv tmp-tlm2 tmp-tlm2-orig
239 mv tmp-tlm3 tmp-tlm3-orig
240 $(LZ4) -d -f -m tmp-tlm*.lz4
241 $(CMP) tmp-tlm1 tmp-tlm1-orig # must be identical
242 $(CMP) tmp-tlm2 tmp-tlm2-orig
243 $(CMP) tmp-tlm3 tmp-tlm3-orig
245 cat tmp-tlm1.lz4 tmp-tlm2.lz4 tmp-tlm3.lz4 > tmp-tlm-concat1
247 $(LZ4) -m tmp-tlm1 tmp-tlm2 tmp-tlm3 -c > tmp-tlm-concat2
248 test ! -f tmp-tlm1.lz4 # must not create .lz4 artefact
249 $(CMP) tmp-tlm-concat1 tmp-tlm-concat2 # must be equivalent
251 $(RM) tmp-tlm-concat1 tmp-tlm-concat2
252 $(LZ4) -f -m tmp-tlm1 tmp-tlm2 tmp-tlm3 # generate .lz4 to decompress
253 cat tmp-tlm1 tmp-tlm2 tmp-tlm3 > tmp-tlm-concat1 # create concatenated reference
254 $(RM) tmp-tlm1 tmp-tlm2 tmp-tlm3
255 $(LZ4) -d -m tmp-tlm1.lz4 tmp-tlm2.lz4 tmp-tlm3.lz4 -c > tmp-tlm-concat2
256 test ! -f tmp-tlm1 # must not create file artefact
257 $(CMP) tmp-tlm-concat1 tmp-tlm-concat2 # must be equivalent
259 ! $(LZ4) -f -m tmp-tlm-concat1 notHere tmp-tlm-concat2 # must fail : notHere not present
260 @$(RM) tmp-tlm*
266 ./datagen -g20KB > tmp-tlb-dg20k
267 $(LZ4) < tmp-tlb-dg20k | $(LZ4) -d > tmp-tlb-dec
268 $(DIFF) -q tmp-tlb-dg20k tmp-tlb-dec
269 $(LZ4) --no-frame-crc < tmp-tlb-dg20k | $(LZ4) -d > tmp-tlb-dec
270 $(DIFF) -q tmp-tlb-dg20k tmp-tlb-dec
276 @echo "hello world" > tmp-tlb-hw
277 $(LZ4) --rm -f tmp-tlb-hw tmp-tlb-hw.lz4
278 test ! -f tmp-tlb-hw # must fail (--rm)
279 test -f tmp-tlb-hw.lz4
280 $(PRGDIR)/lz4cat tmp-tlb-hw.lz4 # must display hello world
281 test -f tmp-tlb-hw.lz4
282 $(PRGDIR)/unlz4 --rm tmp-tlb-hw.lz4 tmp-tlb-hw
283 test -f tmp-tlb-hw
284 test ! -f tmp-tlb-hw.lz4 # must fail (--rm)
285 test ! -f tmp-tlb-hw.lz4.lz4 # must fail (unlz4)
286 $(PRGDIR)/lz4cat tmp-tlb-hw # pass-through mode
287 test -f tmp-tlb-hw
288 test ! -f tmp-tlb-hw.lz4 # must fail (lz4cat)
289 $(LZ4) tmp-tlb-hw tmp-tlb-hw.lz4 # creates tmp-tlb-hw.lz4
290 $(PRGDIR)/lz4cat < tmp-tlb-hw.lz4 > tmp-tlb3 # checks lz4cat works with stdin (#285)
291 $(DIFF) -q tmp-tlb-hw tmp-tlb3
292 $(PRGDIR)/lz4cat < tmp-tlb-hw > tmp-tlb2 # checks lz4cat works in pass-through mode
293 $(DIFF) -q tmp-tlb-hw tmp-tlb2
294 cp tmp-tlb-hw ./-d
299 $(LZ4) -d --rm -- -z tmp-tlb4 # uncompresses ./-z into tmp-tlb4
301 $(DIFF) -q tmp-tlb-hw tmp-tlb4
302 $(LZ4) -f tmp-tlb-hw
303 $(LZ4) --list tmp-tlb-hw.lz4 # test --list on valid single-frame file
304 cat tmp-tlb-hw >> tmp-tlb-hw.lz4
305 $(LZ4) -f tmp-tlb-hw.lz4 # uncompress valid frame followed by invalid data
306 $(LZ4) -BX tmp-tlb-hw -c -q | $(LZ4) -tv # test block checksum
312 ! $(LZ4) -c --fast=0 tmp-tlb-dg20K # lz4 should fail when fast=0
313 ! $(LZ4) -c --fast=-1 tmp-tlb-dg20K # lz4 should fail when fast=-1
315 @echo "TEST" > tmp-tlb-test
316 $(LZ4) -m tmp-tlb-test
317 $(LZ4) tmp-tlb-test.lz4 tmp-tlb-test2
318 $(DIFF) -q tmp-tlb-test tmp-tlb-test2
319 @$(RM) tmp-tlb*
325 ./datagen -g16KB > tmp-dict
326 ./datagen -g32KB > tmp-dict-sample-32k
327 < tmp-dict-sample-32k $(LZ4) -D tmp-dict | $(LZ4) -dD tmp-dict | diff - tmp-dict-sample-32k
328 ./datagen -g128MB > tmp-dict-sample-128m
329 < tmp-dict-sample-128m $(LZ4) -D tmp-dict | $(LZ4) -dD tmp-dict | diff - tmp-dict-sample-128m
330 touch tmp-dict-sample-0
331 < tmp-dict-sample-0 $(LZ4) -D tmp-dict | $(LZ4) -dD tmp-dict | diff - tmp-dict-sample-0
333 …< tmp-dict-sample-32k $(LZ4) -D tmp-dict-sample-0 | $(LZ4) -dD tmp-dict-sample-0 | diff - tmp-dict…
334 …< tmp-dict-sample-0 $(LZ4) -D tmp-dict-sample-0 | $(LZ4) -dD tmp-dict-sample-0 | diff - tmp-dict-s…
337 ./datagen -g128KB > tmp-dict-data-128KB
340 ./datagen -g$$l > tmp-dict-$$l; \
341 …$(DD) if=tmp-dict-$$l of=tmp-dict-$$l-tail bs=1 count=65536 skip=$$((l > 65536 ? l - 65536 : 0)); \
342 …< tmp-dict-$$l $(LZ4) -D stdin tmp-dict-data-128KB -c | $(LZ4) -dD tmp-dict-$$l-tail | $(DIFF…
343 …< tmp-dict-$$l-tail $(LZ4) -D stdin tmp-dict-data-128KB -c | $(LZ4) -dD tmp-dict-$$l | $(DIFF…
346 @$(RM) tmp-dict*
367 @echo "Why hello there " > tmp-tlt2.lz4
368 ! $(LZ4) -f tmp-tlt2.lz4 > $(VOID)
372 @echo "Hello World !" > tmp-tlt1
373 $(LZ4) -dcf tmp-tlt1
374 @echo "from underground..." > tmp-tlt2
375 $(LZ4) -dcfm tmp-tlt1 tmp-tlt2
381 @$(RM) tmp-tlt tmp-tlt1 tmp-tlt2 tmp-tlt2.lz4
399 @$(RM) tmp*
403 @$(RM) tmp*