diff --git a/test/zdtm.sh b/test/zdtm.sh index 612be4540..46816e873 100644 --- a/test/zdtm.sh +++ b/test/zdtm.sh @@ -17,6 +17,7 @@ $ZP/static/write_read01 $ZP/static/write_read02 $ZP/static/wait00 $ZP/static/pthread00 +$ZP/static/vdso00 $ZP/static/file_shared $ZP/streaming/pipe_loop00 $ZP/streaming/pipe_shared00 diff --git a/test/zdtm/live/static/Makefile b/test/zdtm/live/static/Makefile index 4777bf0d9..528120289 100644 --- a/test/zdtm/live/static/Makefile +++ b/test/zdtm/live/static/Makefile @@ -25,6 +25,7 @@ TST_NOFILE = \ ptrace_sig \ pipe00 \ pthread00 \ + vdso00 \ # jobctl00 \ TST_FILE = \ diff --git a/test/zdtm/live/static/vdso00.c b/test/zdtm/live/static/vdso00.c new file mode 100644 index 000000000..8ac4ccad9 --- /dev/null +++ b/test/zdtm/live/static/vdso00.c @@ -0,0 +1,34 @@ +#include +#include + +#include + +#include +#include +#include "zdtmtst.h" + +const char *test_doc = "Check if we can use vDSO after restore\n"; +const char *test_author = "Cyrill Gorcunov