Skip to content

Commit

Permalink
Make the httpd test example a bit more interesting
Browse files Browse the repository at this point in the history
  • Loading branch information
psss committed Aug 10, 2020
1 parent d913703 commit 6c2ca23
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 9 deletions.
9 changes: 0 additions & 9 deletions examples/httpd/ci.fmf

This file was deleted.

17 changes: 17 additions & 0 deletions examples/httpd/smoke.fmf
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
summary:
Basic smoke test for the httpd web server
provision:
how: virtual
memory: 4096
prepare:
- name: packages
how: install
package: httpd curl
- name: service
how: shell
script: systemctl start httpd
execute:
how: shell
script:
- echo foo > /var/www/html/index.html
- curl http://localhost/ | grep foo

0 comments on commit 6c2ca23

Please sign in to comment.