test: skip vdso test on non-vdso systems

Signed-off-by: Adrian Reber <areber@redhat.com>
This commit is contained in:
Adrian Reber 2020-06-16 14:26:06 +00:00 committed by Andrei Vagin
parent ce22e0f37d
commit 41b535d312
2 changed files with 4 additions and 2 deletions

View file

@ -45,9 +45,8 @@ fedora-no-vdso() {
vagrant reload
ssh default cat /proc/cmdline
ssh default 'cd /vagrant; tar xf criu.tar; cd criu; make -j 4'
# Excluding the VDSO test as we are running without VDSO
# Excluding two cgroup tests which seem to fail because of cgroup2
ssh default 'cd /vagrant/criu/test; sudo ./zdtm.py run -a -x zdtm/static/cgroup04 -x zdtm/static/cgroup_ifpriomap -x zdtm/static/vdso01 --keep-going'
ssh default 'cd /vagrant/criu/test; sudo ./zdtm.py run -a -x zdtm/static/cgroup04 -x zdtm/static/cgroup_ifpriomap --keep-going'
}
$1

View file

@ -0,0 +1,3 @@
#!/bin/bash
grep -q "\[vdso\]" /proc/self/maps