fsw: use absolute path in test-do

Closes #1257.

Signed-off-by: ilovezfs <ilovezfs@icloud.com>
This commit is contained in:
ilovezfs 2016-05-18 03:28:39 -07:00
parent a3e47784f3
commit b98d95af6a

View file

@ -22,7 +22,7 @@ class Fsw < Formula
test do test do
begin begin
io = IO.popen("fsw test") io = IO.popen("#{bin}/fsw test")
(testpath/"test").write("foo") (testpath/"test").write("foo")
sleep 2 sleep 2
rm testpath/"test" rm testpath/"test"