summaryrefslogtreecommitdiff
path: root/test/integration/test-apt-update-failure-propagation
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2016-08-05 14:32:56 +0200
committerJulian Andres Klode <jak@debian.org>2016-08-06 02:29:49 +0200
commit782c60a6bf7dddcc71dbdbc4a0eea85824076fa9 (patch)
tree98b0c2b65aa5a32e895d62b2f5e9d9fa85b09a0e /test/integration/test-apt-update-failure-propagation
parent0a81c22efb5d16229ffbea2f1a788b3b3edb4ab0 (diff)
test: Pass -maxdepth 1 when running find in methods dir
This fixes a test failures in the cmake branch which contains sub directories in the methods output dir.
Diffstat (limited to 'test/integration/test-apt-update-failure-propagation')
-rwxr-xr-xtest/integration/test-apt-update-failure-propagation2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/integration/test-apt-update-failure-propagation b/test/integration/test-apt-update-failure-propagation
index 18f5efa11..ec6bf4a48 100755
--- a/test/integration/test-apt-update-failure-propagation
+++ b/test/integration/test-apt-update-failure-propagation
@@ -16,7 +16,7 @@ rm "$NEWMETHODS"
mkdir "$NEWMETHODS"
backupIFS="$IFS"
IFS="$(printf "\n\b")"
-for METH in $(find "$OLDMETHODS" ! -type d); do
+for METH in $(find "$OLDMETHODS" -maxdepth 1 ! -type d); do
ln -s "$OLDMETHODS/$(basename "$METH")" "$NEWMETHODS"
done
IFS="$backupIFS"