diff options
author | Narayan Kamath <narayan@google.com> | 2015-01-22 00:13:17 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2015-01-22 00:13:17 +0000 |
commit | ab6feac62ab875a593f83864045704d894ae0bd8 (patch) | |
tree | 6b270c54a02ca48446008b4ef63c66a2719a367c /harmony-tests/src/test/java/org | |
parent | a928a1fb36bfb962c3894ce2e976ff81e82345cc (diff) | |
parent | 1b462a5d4a5cd4f28c9c7b368110128520a84594 (diff) | |
download | libcore-ab6feac62ab875a593f83864045704d894ae0bd8.zip libcore-ab6feac62ab875a593f83864045704d894ae0bd8.tar.gz libcore-ab6feac62ab875a593f83864045704d894ae0bd8.tar.bz2 |
am 1b462a5d: Merge "Fix ProcessTest#getErrorStream."
* commit '1b462a5d4a5cd4f28c9c7b368110128520a84594':
Fix ProcessTest#getErrorStream.
Diffstat (limited to 'harmony-tests/src/test/java/org')
-rw-r--r-- | harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ProcessTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ProcessTest.java b/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ProcessTest.java index b87105b..1a73719 100644 --- a/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ProcessTest.java +++ b/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ProcessTest.java @@ -86,7 +86,7 @@ public class ProcessTest extends junit.framework.TestCase { assertEquals("", received); String stderr = readAndCloseStream(p.getErrorStream()); - assertTrue(stderr, stderr.contains("unrecognized option") || stderr.contains("invalid option")); + assertTrue(stderr, stderr.contains("no-such-option")); p.waitFor(); p.destroy(); |