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.
This commit is contained in:
parent
d468f2ab81
commit
7f96369477
1 changed files with 1 additions and 1 deletions
|
@ -19,6 +19,6 @@ class P0f < Formula
|
||||||
'RAAAAAIAAABFAABAbvpAAEAGAAB/AAABfwAAAcv8Iyjt2/Pg' \
|
'RAAAAAIAAABFAABAbvpAAEAGAAB/AAABfwAAAcv8Iyjt2/Pg' \
|
||||||
'AAAAALAC///+NAAAAgQ/2AEDAwQBAQgKCyrc9wAAAAAEAgAA'
|
'AAAAALAC///+NAAAAgQ/2AEDAwQBAQgKCyrc9wAAAAAEAgAA'
|
||||||
(testpath / 'test.pcap').write(Base64.decode64(pcap))
|
(testpath / 'test.pcap').write(Base64.decode64(pcap))
|
||||||
system "#{sbin}/p0f", '-r', "#{testpath}/test.pcap"
|
system "#{sbin}/p0f", '-r', 'test.pcap'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue