aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorMike McQuaid2014-07-04 18:53:07 +0100
committerMike McQuaid2014-07-04 18:53:07 +0100
commitaf9f984c37b7bcbd15061dd98320984d3978d6dd (patch)
treea39607889db4838b8e2e552110ef5fd434bc028d /Library/Formula
parent166dbfc49122223e2ef97c41126fca94e115d486 (diff)
downloadhomebrew-af9f984c37b7bcbd15061dd98320984d3978d6dd.tar.bz2
onetime: further improve test, fix --devel.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/onetime.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/onetime.rb b/Library/Formula/onetime.rb
index 3d8fbdbef..c6fdff14c 100644
--- a/Library/Formula/onetime.rb
+++ b/Library/Formula/onetime.rb
@@ -27,7 +27,7 @@ class Onetime < Formula
end
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"
system "#{bin}/onetime", "-e", "--pad=pad_data.txt", "--no-trace",
"--config=.", "input.txt"