aboutsummaryrefslogtreecommitdiff
path: root/tests/util/xmalloc-t
diff options
context:
space:
mode:
authorRuss Allbery <rra@stanford.edu>2012-11-04 09:32:23 -0800
committerRuss Allbery <rra@stanford.edu>2012-11-04 09:32:23 -0800
commit5af748e6ab1dde5eb48c5316ca572be774fc5b77 (patch)
treed08f21ca22b5ab6ccf7f1f439b620b7612dcd35f /tests/util/xmalloc-t
parentd2b811335137ad10ca9489582f31d2d5c595f7f7 (diff)
Adjust test suite to remove unused variables
Diffstat (limited to 'tests/util/xmalloc-t')
-rwxr-xr-xtests/util/xmalloc-t8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/util/xmalloc-t b/tests/util/xmalloc-t
index 02f54b5..67d95f6 100755
--- a/tests/util/xmalloc-t
+++ b/tests/util/xmalloc-t
@@ -95,10 +95,10 @@ ok_xmalloc "calloc fail" 1 \
"failed to calloc 3500000 bytes at xmalloc.c line 148" \
"c" "3500000" "3500000"
ok_xmalloc "asprintf fail" 1 \
- "failed to asprintf 3500000 bytes at xmalloc.c line 173" \
+ "failed to asprintf 3500000 bytes at xmalloc.c line 172" \
"a" "3500000" "3500000"
ok_xmalloc "vasprintf fail" 1 \
- "failed to vasprintf 3500000 bytes at xmalloc.c line 193" \
+ "failed to vasprintf 3500000 bytes at xmalloc.c line 192" \
"v" "3500000" "3500000"
# Check our custom error handler.
@@ -112,9 +112,9 @@ ok_xmalloc "strndup custom" 1 "strndup 3500000 xmalloc.c 124" \
"N" "3500000" "3500000"
ok_xmalloc "calloc custom" 1 "calloc 3500000 xmalloc.c 148" \
"C" "3500000" "3500000"
-ok_xmalloc "asprintf custom" 1 "asprintf 3500000 xmalloc.c 173" \
+ok_xmalloc "asprintf custom" 1 "asprintf 3500000 xmalloc.c 172" \
"A" "3500000" "3500000"
-ok_xmalloc "vasprintf custom" 1 "vasprintf 3500000 xmalloc.c 193" \
+ok_xmalloc "vasprintf custom" 1 "vasprintf 3500000 xmalloc.c 192" \
"V" "3500000" "3500000"
# Check the smaller ones again just for grins.