diff --git a/test/spec/platform_spec.rb b/test/spec/platform_spec.rb
index <HASH>..<HASH> 100644
--- a/test/spec/platform_spec.rb
+++ b/test/spec/platform_spec.rb
@@ -32,7 +32,7 @@ describe "The PHP Platform Installer" do
 					rescue Errno::ENOENT
 						expected_status = 0
 					ensure
-						expect(status.exitstatus).to eq(expected_status), "platform.php failed, stderr: #{stderr}, stdout: #{stdout}"
+						expect(status.exitstatus).to eq(expected_status), "platform.php exited with status #{status.exitstatus}, expected #{expected_status}; stderr: #{stderr}, stdout: #{stdout}"
 					end
 					
 					begin
slightly improve error message (with exit status) if platform.php test fails