summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/libremakepkg-test.sh10
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) ]]
}