Skip to content

Commit

Permalink
fixup! tests/vmcheck: add test for refresh-md and --cache-only
Browse files Browse the repository at this point in the history
  • Loading branch information
jlebon committed Oct 6, 2017
1 parent 3f85d1a commit 4eec99e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/vmcheck/test-basic.sh
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,9 @@ echo "ok script output prefixed in journal"
# local repos are always cached, so let's start up an http server for the same
# vmcheck repo
start_http_repo() {
vm_cmd systemd-run --unit vmcheck-httpd --property WorkingDirectory=/tmp \
python -m SimpleHTTPServer 8888
# CentOS systemd is too old for -p WorkingDirectory
vm_cmd systemd-run --unit vmcheck-httpd sh -c \
'cd /tmp && python -m SimpleHTTPServer 8888'
cat > vmcheck-http.repo << EOF
[vmcheck-http]
name=vmcheck-http
Expand Down

0 comments on commit 4eec99e

Please sign in to comment.