aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2019-02-01 14:04:42 +0100
committerFlorian Weimer <fweimer@redhat.com>2019-02-01 14:15:50 +0100
commit6175507c06de56e03407004bd2f289ed2cce034d (patch)
treee605d5f474fce124f69cae9c93dbd82905673071 /support/tst-test_compare_string.c
parentsupport: Handle AF_LOCAL, AF_UNSPEC in support_format_address_family (diff)
downloadglibc-6175507c06de56e03407004bd2f289ed2cce034d.tar.gz
glibc-6175507c06de56e03407004bd2f289ed2cce034d.tar.bz2
glibc-6175507c06de56e03407004bd2f289ed2cce034d.zip
support: Correct error message for TEST_COMPARE_STRING
It should say "string", not "blob".
Diffstat (limited to 'support/tst-test_compare_string.c')
-rw-r--r--support/tst-test_compare_string.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/support/tst-test_compare_string.c b/support/tst-test_compare_string.c
index ec2ae128f9..f471a8b6a1 100644
--- a/support/tst-test_compare_string.c
+++ b/support/tst-test_compare_string.c
@@ -60,22 +60,22 @@ do_test (void)
TEST_VERIFY
(strcmp (proc.out.buffer,
-"tst-test_compare_string.c:29: error: blob comparison failed\n"
+"tst-test_compare_string.c:29: error: string comparison failed\n"
" left string: 0 bytes\n"
" right string: NULL\n"
-"tst-test_compare_string.c:30: error: blob comparison failed\n"
+"tst-test_compare_string.c:30: error: string comparison failed\n"
" left string: 1 bytes\n"
" right string: 0 bytes\n"
" left (evaluated from \"X\"):\n"
" \"X\"\n"
" 58\n"
-"tst-test_compare_string.c:31: error: blob comparison failed\n"
+"tst-test_compare_string.c:31: error: string comparison failed\n"
" left string: NULL\n"
" right string: 1 bytes\n"
" right (evaluated from \"X\"):\n"
" \"X\"\n"
" 58\n"
-"tst-test_compare_string.c:32: error: blob comparison failed\n"
+"tst-test_compare_string.c:32: error: string comparison failed\n"
" string length: 4 bytes\n"
" left (evaluated from \"abcd\"):\n"
" \"abcd\"\n"
@@ -83,13 +83,13 @@ do_test (void)
" right (evaluated from \"abcD\"):\n"
" \"abcD\"\n"
" 61 62 63 44\n"
-"tst-test_compare_string.c:33: error: blob comparison failed\n"
+"tst-test_compare_string.c:33: error: string comparison failed\n"
" left string: 4 bytes\n"
" right string: NULL\n"
" left (evaluated from \"abcd\"):\n"
" \"abcd\"\n"
" 61 62 63 64\n"
-"tst-test_compare_string.c:34: error: blob comparison failed\n"
+"tst-test_compare_string.c:34: error: string comparison failed\n"
" left string: NULL\n"
" right string: 4 bytes\n"
" right (evaluated from \"abcd\"):\n"