Skip to content
Browse files

tests/self-update-test: don't rely on git for an old version to test

  • Loading branch information...
austin987 committed Aug 27, 2019
1 parent 22cb18b commit 9d9cf1c2bbb17cbd28208d0ce9f8762e11cd810c
Showing with 4 additions and 1 deletion.
  1. +4 −1 tests/self-update-test
@@ -18,7 +18,10 @@ set -x
tmpdir="$(mktemp -d)"

git show "HEAD^1":src/winetricks > "${tmpdir}/winetricks"
# Tried getting an old version via git, but that wasn't reliable.
# Instead we're using a hardcoded old version. It shouldn't matter
# which version is used unless an API change is made.
curl --output "${wt}"

# Make sure the update does something:
current_wt_version="$(sh "${wt}" --version)"

0 comments on commit 9d9cf1c

Please sign in to comment.
You can’t perform that action at this time.