]> git.ipfire.org Git - thirdparty/libcgroup.git/commitdiff
ftests: Add a script to run the non-containerized tests
authorTom Hromatka <tom.hromatka@oracle.com>
Wed, 3 Feb 2021 17:49:45 +0000 (10:49 -0700)
committerTom Hromatka <tom.hromatka@oracle.com>
Wed, 3 Feb 2021 22:13:48 +0000 (22:13 +0000)
Add a script to run the non-containerized tests and
invoke it from `make check`.

Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>
ftests/Makefile.am
ftests/ftests-nocontainer.sh [new file with mode: 0755]

index 52cf79203534c29b26374a0a71179d5ac7f012ed..5a367e5bfabdf3ade443630ab42f6bb782eb6b21 100644 (file)
@@ -1,7 +1,7 @@
 #
 # libcgroup functional tests Makefile.am
 #
-# Copyright (c) 2019-2020 Oracle and/or its affiliates.
+# Copyright (c) 2019-2021 Oracle and/or its affiliates.
 # Author: Tom Hromatka <tom.hromatka@oracle.com>
 #
 
@@ -19,9 +19,9 @@
 # along with this library; if not, see <http://www.gnu.org/licenses>.
 #
 
-TESTS = ftests.sh
+TESTS = ftests.sh ftests-nocontainer.sh
 
-EXTRA_DIST = *.py README.md default.conf ftests.sh
+EXTRA_DIST = *.py README.md default.conf ftests.sh ftests-nocontainer.sh
 
 clean-local: clean-local-check
 .PHONY: clean-local-check
diff --git a/ftests/ftests-nocontainer.sh b/ftests/ftests-nocontainer.sh
new file mode 100755 (executable)
index 0000000..70d27e1
--- /dev/null
@@ -0,0 +1,2 @@
+#!/bin/bash
+./ftests.py -l 10 -L ftests-nocontainer.log --no-container