tests: avoid test failure on Solaris 10 due to lack of PATH export
[pspp] / tests / test-memchr.c
index e7b9780d968a73f59e86422ccc21a1308b121894..05e1bfaed2b65dc03a498b0b66faaa746f909816 100644 (file)
@@ -57,6 +57,7 @@ main (void)
 
   ASSERT (MEMCHR (input + 1, 'a', n - 1) == input + n - 1);
   ASSERT (MEMCHR (input + 1, 'e', n - 1) == input + n - 2);
+  ASSERT (MEMCHR (input + 1, 0x789abc00 | 'e', n - 1) == input + n - 2);
 
   ASSERT (MEMCHR (input, 'f', n) == NULL);
   ASSERT (MEMCHR (input, '\0', n) == NULL);