Commit 1b3ff5cbf61e7742719bc117ca314c55bbcc00d3
1 parent
8219905f
Exists in
master
and in
27 other branches
util/debian-install: add some simple tests
Showing
3 changed files
with
13 additions
and
1 deletions
Show diff stats
util/debian-install/Vagrantfile
@@ -27,4 +27,5 @@ end | @@ -27,4 +27,5 @@ end | ||
27 | Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | 27 | Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| |
28 | config.vm.box = "debian-wheezy" | 28 | config.vm.box = "debian-wheezy" |
29 | config.vm.provision :shell, path: 'install' | 29 | config.vm.provision :shell, path: 'install' |
30 | + config.vm.provision :shell, path: 'test' | ||
30 | end | 31 | end |
util/debian-install/install
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | 2 | ||
3 | set -e | 3 | set -e |
4 | -sudo apt-get install -qy netcat-traditional | 4 | +sudo apt-get install -qy netcat-traditional shunit2 |
5 | 5 | ||
6 | # apt-cacher-ng running on the host | 6 | # apt-cacher-ng running on the host |
7 | # 10.0.2.2 = host ip on virtualbox/qemu | 7 | # 10.0.2.2 = host ip on virtualbox/qemu |