]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
ctdb-tests: Skip "ctdb process-exists" tests when not on Linux
authorMartin Schwenke <martin@meltin.net>
Wed, 4 Mar 2020 03:08:12 +0000 (14:08 +1100)
committerAmitay Isaacs <amitay@samba.org>
Tue, 10 Mar 2020 07:37:34 +0000 (07:37 +0000)
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/tests/UNIT/tool/ctdb.process-exists.001.sh
ctdb/tests/UNIT/tool/ctdb.process-exists.002.sh
ctdb/tests/UNIT/tool/ctdb.process-exists.003.sh

index 1b6d213b3ad6243f19338ff8a951afd771e3918c..d7dc3b21fe3417595c99e7ebaae9c98817fd7f37 100755 (executable)
@@ -4,6 +4,8 @@
 
 define_test "ctdbd process on node 0"
 
+ctdb_test_check_supported_OS "Linux"
+
 setup_ctdbd <<EOF
 NODEMAP
 0       192.168.20.41   0x0     CURRENT RECMASTER
index ace77493565903dc1bc5cca74f6d1d3d550078d9..e432e212ba0c0693127f6ea470e59edc536d698b 100755 (executable)
@@ -4,6 +4,8 @@
 
 define_test "ctdbd process on node 0"
 
+ctdb_test_check_supported_OS "Linux"
+
 setup_ctdbd <<EOF
 NODEMAP
 0       192.168.20.41   0x0     CURRENT RECMASTER
index 402b0d6f5abebd1e7389c01a0ab82aa5def1ae28..630702673dc0b59a57cf1551e4c8a08bde1ecd59 100755 (executable)
@@ -4,6 +4,8 @@
 
 define_test "ctdbd process with multiple connections on node 0"
 
+ctdb_test_check_supported_OS "Linux"
+
 setup_ctdbd <<EOF
 NODEMAP
 0       192.168.20.41   0x0     CURRENT RECMASTER