ia64/xen-unstable

view tools/xm-test/tests/Makefile.am @ 9045:136aea67b369

The attached patch does the following:

- introduces two basic tests for the virtual TPM (skipped on hardware
where a TPM is not available or vtpm manager has not been started
manually before)
- adapts the Makefiles to make the test cases available
- splits up the hotplug files into two files where the vtpm-common.sh
can be sourced by 'other' scripts as well
- uses echo "$var" to return variables from functions
- gets rid of the 'set +e" work-around
- introduces a script (vtpm-delete) to delete entries from the virtual
TPM directory in /etc/xen/vtpm.db

The xm-tests will skip over the 2nd test on most systems and the patch
has otherwise no effect on existing tests.

Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
author emellor@leeni.uk.xensource.com
date Mon Feb 27 16:13:05 2006 +0100 (2006-02-27)
parents 88e35a698dc4
children 9b11eeab4558
line source
1 SUBDIRS = \
2 block-create \
3 block-list \
4 block-destroy \
5 console \
6 create \
7 destroy \
8 dmesg \
9 domid \
10 domname \
11 help \
12 info \
13 list \
14 memmax \
15 memset \
16 network \
17 network-attach \
18 pause \
19 reboot \
20 sedf \
21 shutdown \
22 sysrq \
23 unpause \
24 vcpu-disable \
25 vcpu-pin \
26 vtpm \
27 enforce_dom0_cpus \
28 save restore migrate
30 EXTRA_DIST = $(SUBDIRS) Makefile.am.template
32 %.test: %.py
33 cp $< $@
34 chmod +x $@
36 clean-local: am_config_clean-local
38 am_config_clean-local:
39 rm -f *test
40 rm -f *log