From 6aae21e666601687011f4de5749189d5fde950e0 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Tue, 29 May 2018 16:26:32 -0400 Subject: librefetch: Update for makepkg 5.1 --- test/libremakepkg-test.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'test') diff --git a/test/libremakepkg-test.sh b/test/libremakepkg-test.sh index 54816dd..363e4f7 100644 --- a/test/libremakepkg-test.sh +++ b/test/libremakepkg-test.sh @@ -155,7 +155,7 @@ it_detects_distcc_files() { not [[ -f $(echo libretools-hello-1.0-1-any.pkg.tar.?z) ]] } -it_symlinks_outputs() { +it_doesnt_symlink_outputs() { require network sudo || return 0 echo "WORKDIR='$tmpdir/workdir'" > $XDG_CONFIG_HOME/libretools/libretools.conf @@ -172,8 +172,8 @@ it_symlinks_outputs() { libremessages msg 'Creating a chroot, may take a few minutes' &>/dev/tty testsudo libremakepkg -l "$roundup_test_name" - [[ -f $(echo libretools-hello-1.0-1-any.pkg.tar.?z) ]] - [[ -L $(echo libretools-hello-1.0-1-any.pkg.tar.?z) ]] - [[ -f $(echo libretools-hello-1.0-1-any.src.tar.?z) ]] - [[ -L $(echo libretools-hello-1.0-1-any.src.tar.?z) ]] + not stat libretools-hello-1.0-1-any.pkg.tar.?z + not stat libretools-hello-1.0-1-any.src.tar.?z + [[ -f $(echo "$tmpdir/workdir/pkgdest"/libretools-hello-1.0-1-any.pkg.tar.?z) ]] + [[ -f $(echo "$tmpdir/workdir/srcpkgdest"/libretools-hello-1.0-1-any.src.tar.?z) ]] } -- cgit v1.2.2