From 7f96369477555b00762112aad4368531cc330dc8 Mon Sep 17 00:00:00 2001 From: "J. Brandt Buckley" Date: Wed, 1 Oct 2014 15:58:23 -0700 Subject: [PATCH] Use relative path to test file Reverted last commits use of the full path to the test file. The executable is tested from within the `testpath`, so it's unnecessary. --- Formula/p0f.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Formula/p0f.rb b/Formula/p0f.rb index fd4bce1965..06cff4c2f6 100644 --- a/Formula/p0f.rb +++ b/Formula/p0f.rb @@ -19,6 +19,6 @@ class P0f < Formula 'RAAAAAIAAABFAABAbvpAAEAGAAB/AAABfwAAAcv8Iyjt2/Pg' \ 'AAAAALAC///+NAAAAgQ/2AEDAwQBAQgKCyrc9wAAAAAEAgAA' (testpath / 'test.pcap').write(Base64.decode64(pcap)) - system "#{sbin}/p0f", '-r', "#{testpath}/test.pcap" + system "#{sbin}/p0f", '-r', 'test.pcap' end end