onetime: further improve test, fix --devel.
This commit is contained in:
parent
949dd55742
commit
4a233bd080
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ class Onetime < Formula
|
||||||
end
|
end
|
||||||
|
|
||||||
test do
|
test do
|
||||||
(testpath+'pad_data.txt').write "PAD_DATA"
|
system "dd", "if=/dev/random", "of=pad_data.txt", "bs=1024", "count=1"
|
||||||
(testpath+'input.txt').write "INPUT"
|
(testpath+'input.txt').write "INPUT"
|
||||||
system "#{bin}/onetime", "-e", "--pad=pad_data.txt", "--no-trace",
|
system "#{bin}/onetime", "-e", "--pad=pad_data.txt", "--no-trace",
|
||||||
"--config=.", "input.txt"
|
"--config=.", "input.txt"
|
||||||
|
|
Loading…
Reference in a new issue