diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2018-05-29 16:26:32 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2018-05-30 11:39:51 -0400 |
commit | 6aae21e666601687011f4de5749189d5fde950e0 (patch) | |
tree | 2e12ce3c782a7b5b06d4b6212033c0c573b38f81 /test | |
parent | 4d554c6ea9368ba5d0a9aeee1815a9d0f8b5ea48 (diff) |
librefetch: Update for makepkg 5.1
Diffstat (limited to 'test')
-rw-r--r-- | test/libremakepkg-test.sh | 10 |
1 files changed, 5 insertions, 5 deletions
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) ]] } |