Bug 480016 - js/tests/js1_8_1/extensions/regress-477187.js uses timeout() but doesn't expectExitCode(6). r=bc.

--HG--
extra : rebase_source : b95ba1ccbbdf318786e2446276d80885602d574a
This commit is contained in:
Jason Orendorff 2009-02-25 12:41:41 -06:00
parent 0f8f95cbfb
commit 9b66765431

View File

@ -59,15 +59,15 @@ function test()
}
else
{
timeout(3);
// call reportCompare early here to get a result.
// the test will fail if the timeout does not terminate
// and the test is forced to TIMED OUT.
expectExitCode(6);
timeout(0.01);
// Call reportCompare early here to get a result. The test will fail if
// the timeout doesn't work and the test framework is forced to terminate
// the test.
reportCompare(expect, actual, summary);
while(1);
while(1);
}
exitFunc ('test');
}