Skip to content
This repository has been archived by the owner on May 21, 2024. It is now read-only.

Commit

Permalink
Merge pull request #914 from advancedtelematic/fix/aktualizr-info-ci
Browse files Browse the repository at this point in the history
Fix `test_install_aktualizr_and_update.sh`
  • Loading branch information
lbonn authored Aug 16, 2018
2 parents d310f5b + 140f3e6 commit 412c0f5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion scripts/test_install_aktualizr_and_update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,13 @@ set -exuo pipefail
/persistent/selfupdate_server.py 8000&

dpkg-deb -I /persistent/aktualizr.deb && dpkg -i /persistent/aktualizr.deb
aktualizr --version | grep "$(cat /persistent/aktualizr-version)" && aktualizr-info
aktualizr --version | grep "$(cat /persistent/aktualizr-version)"

mkdir -m 700 -p /tmp/aktualizr-storage
aktualizr -c /persistent/selfupdate.toml --running-mode=once

# check that the version was updated
aktualizr --version | grep 2.0-selfupdate

# check that aktualizr-info succeeds
aktualizr-info

0 comments on commit 412c0f5

Please sign in to comment.