chiark / gitweb /
test suite: Work if $tmp is on a different filesystem.
[dgit.git] / tests / lib-gdr
index 251143e3fe89b2828379978c92f7905de70a3a3e..cda11df5b8d5fe7d322d9f8f8168cc44c2554746 100644 (file)
@@ -229,11 +229,9 @@ t-some-changes () {
 t-make-new-upstream-tarball () {
        local uv=$1
        git checkout make-upstream
-       # leaves ust set to filename of orig tarball
        echo "upstream $uv" >>docs/README
        git commit -a -m "upstream $uv tarball"
-       ust=example_$uv.orig.tar.gz
-       git archive -o ../$ust --prefix=example-2.0/ make-upstream
+       t-make-orig example $uv make-upstream
 }
 
 t-nmu-upload-1 () {