summaryrefslogtreecommitdiff
path: root/tests/local.mk
diff options
context:
space:
mode:
authorOndrej Oprala <ooprala@redhat.com>2013-01-22 14:21:23 +0100
committerPádraig Brady <P@draigBrady.com>2013-04-14 01:00:45 +0100
commit8901e010fa24ba375d53e3e37fc7819621adcf19 (patch)
tree1f20f49bb0c455525b042e838462d4396c97a314 /tests/local.mk
parent4114c93af398d7aecb5eb253f90d9b4cc0785643 (diff)
downloadcoreutils-8901e010fa24ba375d53e3e37fc7819621adcf19.tar.xz
dd: avoid buffer allocations unless needed
* src/dd.c: Add new static global variable ibuf. (alloc_ibuf, alloc_obuf): New functions factored from dd_copy(). (dd_copy): Call the new functions to allocate memory for ibuf and obuf when necessary. (skip): Likewise. * tests/dd/no-allocate.sh: New test. * tests/local.mk: Reference the test.
Diffstat (limited to 'tests/local.mk')
-rw-r--r--tests/local.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/local.mk b/tests/local.mk
index e3a72ab3a..0b019d951 100644
--- a/tests/local.mk
+++ b/tests/local.mk
@@ -465,6 +465,7 @@ all_tests = \
tests/df/skip-rootfs.sh \
tests/dd/direct.sh \
tests/dd/misc.sh \
+ tests/dd/no-allocate.sh \
tests/dd/nocache.sh \
tests/dd/not-rewound.sh \
tests/dd/reblock.sh \