From acadef4a5ae79e2161d346ff681e7954e91c8ebb Mon Sep 17 00:00:00 2001 From: Enrico Scholz Date: Thu, 9 Oct 2003 01:45:28 +0000 Subject: [PATCH] added getctx git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@67 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- util-vserver/tests/.cvsignore | 1 + util-vserver/tests/Makefile-files | 11 ++++++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/util-vserver/tests/.cvsignore b/util-vserver/tests/.cvsignore index 0667ff3..737366d 100644 --- a/util-vserver/tests/.cvsignore +++ b/util-vserver/tests/.cvsignore @@ -3,6 +3,7 @@ chrootsafe escaperoot forkbomb +getctx testipc testlimit testopenf diff --git a/util-vserver/tests/Makefile-files b/util-vserver/tests/Makefile-files index f4b4331..8d1d11f 100644 --- a/util-vserver/tests/Makefile-files +++ b/util-vserver/tests/Makefile-files @@ -22,7 +22,8 @@ test_PRGS = tests/chrootsafe \ tests/forkbomb \ tests/testipc \ tests/testlimit \ - tests/testopenf + tests/testopenf \ + tests/getctx tests_chrootsafe_SOURCES = tests/chrootsafe.cc tests_chrootsafe_LDADD = lib/libvserver.a @@ -32,3 +33,11 @@ tests_forkbomb_SOURCES = tests/forkbomb.cc tests_testipc_SOURCES = tests/testipc.cc tests_testlimit_SOURCES = tests/testlimit.cc tests_testopenf_SOURCES = tests/testopenf.cc + +tests_getctx_SOURCES = tests/getctx.c +tests_getctx_LDADD = lib/libvserver.a + +if USE_DIETLIBC +tests/getctx$(EXEEXT) tests/getctx$(OBJEXT) \ + : CC=$(DIET_CC) +endif -- 1.8.1.5