glances: brew style --fix
This commit is contained in:
parent
7aff29907b
commit
65aaba84aa
1 changed files with 7 additions and 9 deletions
|
@ -252,15 +252,13 @@ class Glances < Formula
|
|||
end
|
||||
|
||||
test do
|
||||
begin
|
||||
read, write = IO.pipe
|
||||
pid = fork do
|
||||
exec bin/"glances", "-q", "--export", "csv", "--export-csv-file", "/dev/stdout", :out => write
|
||||
end
|
||||
header = read.gets
|
||||
assert_match "timestamp", header
|
||||
ensure
|
||||
Process.kill("TERM", pid)
|
||||
read, write = IO.pipe
|
||||
pid = fork do
|
||||
exec bin/"glances", "-q", "--export", "csv", "--export-csv-file", "/dev/stdout", :out => write
|
||||
end
|
||||
header = read.gets
|
||||
assert_match "timestamp", header
|
||||
ensure
|
||||
Process.kill("TERM", pid)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue