diff options
author | Elliott Hughes <enh@google.com> | 2013-06-27 08:49:05 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2013-06-27 08:49:05 -0700 |
commit | 6c968dd800eb7cb3a81b17b33985f6569619ba7a (patch) | |
tree | 6a99802ad56960ef388976cb39b4cd8f4ff270ca /luni | |
parent | 329987f9b9967ebea1eaffbdf4af34fb075c1925 (diff) | |
download | libcore-6c968dd800eb7cb3a81b17b33985f6569619ba7a.zip libcore-6c968dd800eb7cb3a81b17b33985f6569619ba7a.tar.gz libcore-6c968dd800eb7cb3a81b17b33985f6569619ba7a.tar.bz2 |
Fix tests.api.java.lang.ProcessTest#test_getErrorStream.
Our new getopt_long(3) distinguishes between illegal, invalid,
unrecognized, ambiguous, and unknown options; the old one only
had ambiguous and [two slight variants of] unknown.
Change-Id: Iec4f124d66e4e483292043db5a93caa4cf1a15b0
Diffstat (limited to 'luni')
-rw-r--r-- | luni/src/test/java/tests/api/java/lang/ProcessTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/luni/src/test/java/tests/api/java/lang/ProcessTest.java b/luni/src/test/java/tests/api/java/lang/ProcessTest.java index b1a331a..2a8e0bd 100644 --- a/luni/src/test/java/tests/api/java/lang/ProcessTest.java +++ b/luni/src/test/java/tests/api/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("unknown option")); + assertTrue(stderr, stderr.contains("unrecognized option") || stderr.contains("invalid option")); p.waitFor(); p.destroy(); |