Add unit test for PS env var
This commit is contained in:
1 parent
90848e7dea
commit
9866a341ca
2 files changed
+8
No files matched your search
@@ -44,6 +44,13 @@ describe "Foreman::CLI", :fakefs do
|
|||||||
output.should =~ /test.1 \| testing/
|
output.should =~ /test.1 \| testing/
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
it "sets PS variable with the process name" do
|
||||||
|
without_fakefs do
|
||||||
|
output = foreman("start -f #{resource_path("Procfile")}")
|
||||||
|
output.should =~ /ps.1 \| PS env var is ps.1/
|
||||||
|
end
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
@@ -2,3 +2,4 @@ echo: bin/echo echoing
|
|||||||
env: bin/env FOO
|
env: bin/env FOO
|
||||||
test: bin/test
|
test: bin/test
|
||||||
utf8: bin/utf8
|
utf8: bin/utf8
|
||||||
|
ps: bin/echo PS env var is $PS
|
||||||
Reference in new issue
Block a user