diff options
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/onetime.rb | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Library/Formula/onetime.rb b/Library/Formula/onetime.rb index 6798dc44c..cc458cf20 100644 --- a/Library/Formula/onetime.rb +++ b/Library/Formula/onetime.rb @@ -20,6 +20,11 @@ class Onetime < Formula end test do - system "#{bin}/onetime", "--version" + (testpath+'pad_data.txt').write "PAD_DATA" + (testpath+'input.txt').write "INPUT" + system "#{bin}/onetime", "-e", "--pad=pad_data.txt", "--no-trace", + "--config=.", "input.txt" + system "#{bin}/onetime", "-d", "--pad=pad_data.txt", "--no-trace", + "--config=.", "input.txt.onetime" end end |
