mirror of
https://github.com/c-cube/tiny_httpd.git
synced 2025-12-06 11:15:35 -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:
|
||||
@dune build @install
|
||||
|
||||
test: tests/foo_50
|
||||
test:
|
||||
@dune runtest --no-buffer --force
|
||||
|
||||
tests/foo_50:
|
||||
dd if=/dev/zero of=$@ bs=1M count=50
|
||||
|
||||
clean:
|
||||
@dune clean
|
||||
|
||||
|
|
|
|||
|
|
@ -40,3 +40,9 @@
|
|||
(rule
|
||||
(alias runtest)
|
||||
(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