Commit df4419b7 authored by Ian Jackson's avatar Ian Jackson

test suite: t-check-only-bpd: Check $tmp/.. not ..

The test might call t-ok in $p, say, or in $tmp.

The effect of this bug was that in tests where t-ok was called in
$tmp, it looked in $tmp/.. which might contain anything, rather than
$tmp as intended.  That means the test was not effective.

Also it causes a spurious failure of t-import-nonnative in the Ubuntu
CI infrastructure, where $AUTOPKGTEST_TMP/../autopkgtest-satdep.deb
happens to exist.
Reported-by: Mattia Rizzolo's avatarMattia Rizzolo <>
Signed-off-by: Ian Jackson's avatarIan Jackson <>
parent e439ec13
......@@ -407,8 +407,8 @@ t-git-fsck () {
t-check-only-bpd () {
if [ "$bpd" = .. ]; then return; fi
t-files-notexist \
../*.{deb,changes,dsc,buildinfo} \
$tmp/*.{deb,changes,dsc,buildinfo} \
t-fscks () {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment