[PATCH] zdtm: Add arch specific tests
Cyrill Gorcunov
gorcunov at openvz.org
Mon Jun 23 12:26:53 PDT 2014
To be able to run specific tests depending on
architecture we're executing on.
Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
test/zdtm.sh | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/test/zdtm.sh b/test/zdtm.sh
index 1aa4b30f1bb7..5837fc488d57 100755
--- a/test/zdtm.sh
+++ b/test/zdtm.sh
@@ -1,5 +1,14 @@
#!/bin/bash
+ARCH=`uname -m | sed \
+ -e s/i.86/i386/ \
+ -e s/sun4u/sparc64/ \
+ -e s/s390x/s390/ \
+ -e s/parisc64/parisc/ \
+ -e s/ppc.*/powerpc/ \
+ -e s/mips.*/mips/ \
+ -e s/sh[234].*/sh/`
+
ZP="zdtm/live"
TEST_LIST="
@@ -109,6 +118,15 @@ static/chroot-file
static/rtc
transition/maps007
"
+
+#
+# Arch specific tests
+if [ $ARCH = "x86_64" ]; then
+ TEST_LIST_ARCH="static/vdso01"
+fi
+
+TEST_LIST=$TEST_LIST$TEST_LIST_ARCH
+
# Duplicate list with ns/ prefix
TEST_LIST=$TEST_LIST$(echo $TEST_LIST | tr ' ' '\n' | sed 's#^#ns/#')
--
1.9.3
--uh9ZiVrAOUUm9fzH--
More information about the CRIU
mailing list