added getctx
authorEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Thu, 9 Oct 2003 01:45:28 +0000 (01:45 +0000)
committerEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Thu, 9 Oct 2003 01:45:28 +0000 (01:45 +0000)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@67 94cd875c-1c1d-0410-91d2-eb244daf1a30

util-vserver/tests/.cvsignore
util-vserver/tests/Makefile-files

index 0667ff3..737366d 100644 (file)
@@ -3,6 +3,7 @@
 chrootsafe
 escaperoot
 forkbomb
+getctx
 testipc
 testlimit
 testopenf
index f4b4331..8d1d11f 100644 (file)
@@ -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