chiark / gitweb /
test suite: t-check-only-bpd: Check $tmp/.. not ..
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 28 Sep 2018 17:04:03 +0000 (18:04 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 28 Sep 2018 17:04:03 +0000 (18:04 +0100)
commitdf4419b77d5e231b7861a03542a22e36b0cda065
treea520b2e848e379fe98b5a874485ae540ec2fede5
parente439ec13f6645a1f84b31cc09bfa5e6fbc1b8fc2
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 <mattia@debian.org>
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
tests/lib