summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2015-12-06 14:46:11 +0100
committerDavid Kalnischkies <david@kalnischkies.de>2015-12-06 14:46:11 +0100
commit804419029ab1b969c8d2dedb9b3443225058521f (patch)
tree4b64854590c02645b4da578ee02da61c2e13d9cb /test
parente75e5879c0e8d232a2e8f045685beeb8c965aba4 (diff)
downloadapt-804419029ab1b969c8d2dedb9b3443225058521f.tar.gz
replace run-parts with find|sort to avoid debianutils usage
After e75e5879 the reason for an implicit dependency on debianutils (which is essential for debian, but likely not on other systems) was just two uses of run-parts, which can be replaced with the a lot more portable find-piped-into-sort duo.
Diffstat (limited to 'test')
-rwxr-xr-xtest/integration/run-tests2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/integration/run-tests b/test/integration/run-tests
index f2a266139..89c3a10e7 100755
--- a/test/integration/run-tests
+++ b/test/integration/run-tests
@@ -83,7 +83,7 @@ PASS=0
ALL=0
FAILED_TESTS=""
DIR="$(readlink -f "$(dirname "$0")")"
-TESTLIST="$(run-parts --list "$DIR" --regex '^test-.*$')"
+TESTLIST="$(find "$DIR" -mindepth 1 -maxdepth 1 -regex '^.*/test-[^/]*$' | sort)"
if [ -n "$APT_TEST_JOBS" ]; then
if [ "$MSGCOLOR" != 'NO' ]; then
export MSGCOLOR='ALWAYS'