I saw the ICU4C intltest idna/TestIDNAMonkeyTest fail once in a test but it does not fail any more and it does not seem obvious how to recreate the precise conditions for the one failure. We know that in general the IDNA code works fine for "R" unlike what the test failure suggests.

This test, like any random-input monkey test, needs to output enough to make it possible to trace any reported situation, and, if possible, to recreate it.

The one-time failure should also be investigated. Its log is:

```
1
2
3
4
5
6
7
8
9
10
```

```
Did not get the expected output while comparing idnaref_toASCII with uidna_toASCII Expected: "r" Got: "R" for Source: "R" Options: 1
Did not get the expected output while comparing idnaref_toASCII with uidna_toASCII Expected: "r" Got: "R" for Source: "R" Options: 0
Did not get the expected output while comparing idnaref_toASCII with uidna_toASCII Expected: "r" Got: "R" for Source: "R" Options: 2
Did not get the expected output while comparing idnaref_toASCII with uidna_toASCII Expected: "r" Got: "R" for Source: "R" Options: 3
Did not get the expected output while comparing idnaref_toASCII with uidna_toASCII Expected: "r" Got: "R" for Source: "R" Options: 1
Did not get the expected output while comparing idnaref_toASCII with uidna_toASCII Expected: "r" Got: "R" for Source: "R" Options: 0
Did not get the expected output while comparing idnaref_toASCII with uidna_toASCII Expected: "r" Got: "R" for Source: "R" Options: 2
Did not get the expected output while comparing idnaref_toASCII with uidna_toASCII Expected: "r" Got: "R" for Source: "R" Options: 3
---ERRORS (8) in TestIDNAMonkeyTest
```

Markus Scherer

Markus Scherer

Hours

Mar 05, 2007, 6:28 PM

markus

ICU4C

markus

accepted

0.2

assess