]> git.ipfire.org Git - thirdparty/hostap.git/commit - tests/hwsim/vm/README
hwsim tests: Add scripts to run in a VM
authorJohannes Berg <johannes.berg@intel.com>
Wed, 30 Oct 2013 23:23:57 +0000 (00:23 +0100)
committerJouni Malinen <j@w1.fi>
Thu, 31 Oct 2013 09:08:16 +0000 (11:08 +0200)
commit970d3b096f0311c9dd157e92774e419a232b4307
tree5c01d8c0f57248fd3c0cbca2b560be33f4fbd48e
parente8e238c43619383f67a38e0e430608f6b17f3adc
hwsim tests: Add scripts to run in a VM

Instead of running on the host, it can be useful to run in a
VM, particularly to test kernel rather than userspace changes,
so add a few scripts that allow doing so easily.

The basic idea is that the VM kernel is the same architecture
as the host kernel, so the host's root filesystem can be used
(in read-only mode) to run everything. Only a log filesystem
is mounted read-write and will get all the test output.

The kernel console output is collected to a special 'console'
file in the logs directory and kernel crashes are detected.

Signed-hostap: Johannes Berg <johannes.berg@intel.com>
tests/hwsim/vm/.gitignore [new file with mode: 0644]
tests/hwsim/vm/README [new file with mode: 0644]
tests/hwsim/vm/inside.sh [new file with mode: 0755]
tests/hwsim/vm/kernel-config [new file with mode: 0644]
tests/hwsim/vm/vm-run.sh [new file with mode: 0755]