diff options
| author | Russ Allbery <eagle@eyrie.org> | 2016-01-17 19:43:13 -0800 | 
|---|---|---|
| committer | Russ Allbery <eagle@eyrie.org> | 2016-01-17 19:43:13 -0800 | 
| commit | cf5297c4ec8815ecc7f5139ef05b9867843db2f7 (patch) | |
| tree | fef6ba149883530c7e7fba771be6ac2e59c4dfe9 /tests/util/xmalloc-t | |
| parent | 7e03241ce323be7447b085a8e7b07b78c770b0dc (diff) | |
| parent | 4b3f858ef567c0d12511e7fea2a56f08f2729635 (diff) | |
Merge tag 'upstream/1.3' into debian/master
Upstream version 1.3
Diffstat (limited to 'tests/util/xmalloc-t')
| -rwxr-xr-x | tests/util/xmalloc-t | 32 | 
1 files changed, 16 insertions, 16 deletions
| diff --git a/tests/util/xmalloc-t b/tests/util/xmalloc-t index d52c448..af604ed 100755 --- a/tests/util/xmalloc-t +++ b/tests/util/xmalloc-t @@ -99,46 +99,46 @@ ok_xmalloc "vasprintf large"    0 "" "v" "30000000" "0"  # We assume that there are enough miscellaneous allocations that an allocation  # exactly as large as the limit will always fail.  ok_xmalloc "malloc fail" 1 \ -    "failed to malloc 30000000 bytes at xmalloc.c line 38" \ +    "failed to malloc 30000000 bytes at xmalloc.c line 41" \      "m" "30000000" "30000000"  ok_xmalloc "realloc fail" 1 \ -    "failed to realloc 30000000 bytes at xmalloc.c line 66" \ +    "failed to realloc 30000000 bytes at xmalloc.c line 69" \      "r" "30000000" "30000000"  ok_xmalloc "reallocarray fail" 1 \ -    "failed to reallocarray 30000000 bytes at xmalloc.c line 96" \ +    "failed to reallocarray 30000000 bytes at xmalloc.c line 99" \      "y" "30000000" "30000000"  ok_xmalloc "strdup fail" 1 \ -    "failed to strdup 30000000 bytes at xmalloc.c line 127" \ +    "failed to strdup 30000000 bytes at xmalloc.c line 130" \      "s" "30000000" "30000000"  ok_xmalloc "strndup fail" 1 \ -    "failed to strndup 30000000 bytes at xmalloc.c line 173" \ +    "failed to strndup 30000000 bytes at xmalloc.c line 176" \      "n" "30000000" "30000000"  ok_xmalloc "calloc fail" 1 \ -    "failed to calloc 30000000 bytes at xmalloc.c line 197" \ +    "failed to calloc 30000000 bytes at xmalloc.c line 200" \      "c" "30000000" "30000000"  ok_xmalloc "asprintf fail" 1 \ -    "failed to asprintf 30000000 bytes at xmalloc.c line 221" \ +    "failed to asprintf 30000000 bytes at xmalloc.c line 224" \      "a" "30000000" "30000000"  ok_xmalloc "vasprintf fail" 1 \ -    "failed to vasprintf 30000000 bytes at xmalloc.c line 240" \ +    "failed to vasprintf 30000000 bytes at xmalloc.c line 243" \      "v" "30000000" "30000000"  # Check our custom error handler. -ok_xmalloc "malloc custom"       1 "malloc 30000000 xmalloc.c 38" \ +ok_xmalloc "malloc custom"       1 "malloc 30000000 xmalloc.c 41" \      "M" "30000000" "30000000" -ok_xmalloc "realloc custom"      1 "realloc 30000000 xmalloc.c 66" \ +ok_xmalloc "realloc custom"      1 "realloc 30000000 xmalloc.c 69" \      "R" "30000000" "30000000" -ok_xmalloc "reallocarray custom" 1 "reallocarray 30000000 xmalloc.c 96" \ +ok_xmalloc "reallocarray custom" 1 "reallocarray 30000000 xmalloc.c 99" \      "Y" "30000000" "30000000" -ok_xmalloc "strdup custom"       1 "strdup 30000000 xmalloc.c 127" \ +ok_xmalloc "strdup custom"       1 "strdup 30000000 xmalloc.c 130" \      "S" "30000000" "30000000" -ok_xmalloc "strndup custom"      1 "strndup 30000000 xmalloc.c 173" \ +ok_xmalloc "strndup custom"      1 "strndup 30000000 xmalloc.c 176" \      "N" "30000000" "30000000" -ok_xmalloc "calloc custom"       1 "calloc 30000000 xmalloc.c 197" \ +ok_xmalloc "calloc custom"       1 "calloc 30000000 xmalloc.c 200" \      "C" "30000000" "30000000" -ok_xmalloc "asprintf custom"     1 "asprintf 30000000 xmalloc.c 221" \ +ok_xmalloc "asprintf custom"     1 "asprintf 30000000 xmalloc.c 224" \      "A" "30000000" "30000000" -ok_xmalloc "vasprintf custom"    1 "vasprintf 30000000 xmalloc.c 240" \ +ok_xmalloc "vasprintf custom"    1 "vasprintf 30000000 xmalloc.c 243" \      "V" "30000000" "30000000"  # Check the smaller ones again just for grins. | 
