Skip to content

Commit 4f176ee

Browse files
lmarlowdefunkt
authored andcommitted
Use -A instead of -e for ps, consistent with Worker.worker_pids
Seems to be work better with Snow Leopard
1 parent 302b0dd commit 4f176ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
exit_code = Test::Unit::AutoRunner.run
3232
end
3333

34-
pid = `ps -e -o pid,command | grep [r]edis-test`.split(" ")[0]
34+
pid = `ps -A -o pid,command | grep [r]edis-test`.split(" ")[0]
3535
puts "Killing test redis server..."
3636
`rm -f #{dir}/dump.rdb`
3737
Process.kill("KILL", pid.to_i)

0 commit comments

Comments
 (0)