Skip to content

Commit

Permalink
test/t/t-2_apply-1_packages-6_aur-1_makepkg-7_helperfirst: Don't assu…
Browse files Browse the repository at this point in the history
…me a package extension

Fixes upgrading Arch Linux Base past a version where the makepkg
default is switched to .tar.zst.
  • Loading branch information
CyberShadow committed Aug 6, 2020
1 parent 8e2db3d commit d61a863
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/t/t-2_apply-1_packages-6_aur-1_makepkg-7_helperfirst.sh
Expand Up @@ -21,6 +21,8 @@ TestPhase_Check ###############################################################
diff -u <(cat /testfile.txt) <(printf 'File contents')

# Check that it was built by pacaur
test -f ~/.cache/pacaur/a-test-package/a-test-package-1.0-1-x86_64.pkg.tar.xz
pkgext=$(source /etc/makepkg.conf ; printf -- %s "$PKGEXT")
test -f ~/.cache/pacaur/a-test-package/a-test-package-1.0-1-x86_64"$pkgext"
unset pkgext

TestDone ######################################################################

0 comments on commit d61a863

Please sign in to comment.