ctdb-common: Factor out basic script abstraction
authorMartin Schwenke <martin@meltin.net>
Thu, 12 Jul 2018 03:20:55 +0000 (13:20 +1000)
committerAmitay Isaacs <amitay@samba.org>
Sat, 28 Jul 2018 15:14:11 +0000 (17:14 +0200)
commita7a4ee439dc1cf262b4da9fbcb38a2f69c62744c
treeaac19c826beb2f8d6e2d3bf736f479da000523b3
parent56e248de6072063308786ea83282aaecc8d7e62a
ctdb-common: Factor out basic script abstraction

Provides for listing of scripts and chmod enable/disable.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13551

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/common/event_script.c [new file with mode: 0644]
ctdb/common/event_script.h [new file with mode: 0644]
ctdb/tests/cunit/event_script_test_001.sh [new file with mode: 0755]
ctdb/tests/src/event_script_test.c [new file with mode: 0644]
ctdb/wscript