summaryrefslogtreecommitdiff
path: root/test/libapt/run-tests
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2011-01-13 23:22:17 +0100
committerDavid Kalnischkies <kalnischkies@gmail.com>2011-01-13 23:22:17 +0100
commit491058e3570ec66769c4e7e9797f549c6d724848 (patch)
treecbd2eb94617df160e821de3858b4f441666a7894 /test/libapt/run-tests
parentc55b8a54780c4db6a5fa270ddd2d05ab837f6ffb (diff)
ignore non-regular files in GetListOfFilesInDir (Closes: #594694)
Diffstat (limited to 'test/libapt/run-tests')
-rwxr-xr-xtest/libapt/run-tests5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/libapt/run-tests b/test/libapt/run-tests
index f5fc03446..a66de386d 100755
--- a/test/libapt/run-tests
+++ b/test/libapt/run-tests
@@ -39,6 +39,11 @@ do
"${tmppath}/invälid.conf" \
"${tmppath}/invalíd" \
"${tmppath}/01invalíd"
+ mkdir "${tmppath}/invaliddir" \
+ "${tmppath}/directory.conf" \
+ "${tmppath}/directory.list" \
+ "${tmppath}/directory.wron" \
+ "${tmppath}/directory.list.disabled"
ln -s "${tmppath}/anormalfile" "${tmppath}/linkedfile.list"
ln -s "${tmppath}/non-existing-file" "${tmppath}/brokenlink.list"
elif [ $name = "getLanguages${EXT}" ]; then