diff options
Diffstat (limited to 'test/librestage-test.sh')
-rw-r--r-- | test/librestage-test.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/librestage-test.sh b/test/librestage-test.sh index 4f617ca..d52cbea 100644 --- a/test/librestage-test.sh +++ b/test/librestage-test.sh @@ -59,8 +59,8 @@ it_guesses_the_repo() { librestage find "$tmpdir" -not -type d -exec ls -ld -- {} + - [[ -f $(echo $tmpdir/workdir/staging/reponame/libretools-hello-1.0-1-any.pkg.tar.?z) ]] - $nochroot || [[ -f $(echo $tmpdir/workdir/staging/sources/parabola/libretools-hello-1.0-1-any.src.tar.?z) ]] + globfile $tmpdir/workdir/staging/reponame/libretools-hello-1.0-1-any.pkg.tar.?z + $nochroot || globfile $tmpdir/workdir/staging/sources/parabola/libretools-hello-1.0-1-any.src.tar.?z } it_stages_packages_without_PKGDEST() { @@ -83,6 +83,6 @@ it_stages_packages_without_PKGDEST() { librestage repo1 find "$tmpdir" -not -type d -exec ls -ld -- {} + - [[ -f $(echo $tmpdir/workdir/staging/repo1/libretools-hello-1.0-1-any.pkg.tar.?z) ]] - $nochroot || [[ -f $(echo $tmpdir/workdir/staging/sources/parabola/libretools-hello-1.0-1-any.src.tar.?z) ]] + globfile $tmpdir/workdir/staging/repo1/libretools-hello-1.0-1-any.pkg.tar.?z + $nochroot || globfile $tmpdir/workdir/staging/sources/parabola/libretools-hello-1.0-1-any.src.tar.?z } |