X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/b6f1b480164b454661ddd4fdd3968302c6a3ebf6..71e22da91ff888cf645e5083fbac7839846111d2:/test/integration/test-bug-814139-pickup-of-different-cache-states

diff --git a/test/integration/test-bug-814139-pickup-of-different-cache-states b/test/integration/test-bug-814139-pickup-of-different-cache-states
index a6c84d6cd..dffeb73ae 100755
--- a/test/integration/test-bug-814139-pickup-of-different-cache-states
+++ b/test/integration/test-bug-814139-pickup-of-different-cache-states
@@ -23,11 +23,13 @@ testrun() {
 	testsuccess aptget build-dep foo -y
 	testdpkginstalled 'bar'
 	cleanup
+	cd downloaded
 	testsuccess aptget source foo
-	testsuccess test -s foo_1.tar.xz -a -s foo_1.dsc
-	rm foo_1.tar.xz foo_1.dsc
+	testsuccess test -s foo_1.tar.* -a -s foo_1.dsc
+	rm foo_1.tar.* foo_1.dsc
 	testsuccess test -d foo-1
 	rm -rf foo-1
+	cd ..
 	cleanup
 	testsuccess aptget install foo -y
 }