mirror of
https://github.com/c-cube/tiny_httpd.git
synced 2025-12-05 19:00:32 -05:00
test: fix production of data file
This commit is contained in:
parent
8d1a71e625
commit
b4667e9686
2 changed files with 7 additions and 4 deletions
5
Makefile
5
Makefile
|
|
@ -5,12 +5,9 @@ all: build test
|
||||||
build:
|
build:
|
||||||
@dune build @install
|
@dune build @install
|
||||||
|
|
||||||
test: tests/foo_50
|
test:
|
||||||
@dune runtest --no-buffer --force
|
@dune runtest --no-buffer --force
|
||||||
|
|
||||||
tests/foo_50:
|
|
||||||
dd if=/dev/zero of=$@ bs=1M count=50
|
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
@dune clean
|
@dune clean
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -40,3 +40,9 @@
|
||||||
(rule
|
(rule
|
||||||
(alias runtest)
|
(alias runtest)
|
||||||
(action (diff dl-out.expect dl-out)))
|
(action (diff dl-out.expect dl-out)))
|
||||||
|
|
||||||
|
|
||||||
|
(rule
|
||||||
|
(targets foo_50)
|
||||||
|
(action
|
||||||
|
(bash "dd if=/dev/zero of=%{targets} bs=1M count=50")))
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue