diff options
author | Marius Halden <marius.h@lden.org> | 2019-02-26 02:32:12 +0100 |
---|---|---|
committer | Marius Halden <marius.h@lden.org> | 2019-02-26 02:32:12 +0100 |
commit | 71fe8a3fbb5274f1cfe909bccf751e62d8dfa723 (patch) | |
tree | 3c146815fec5b87ce8f0258c27a0b3a3f5c37da5 /jail_test.go | |
parent | 51ffcda86f2417fe929fdaabad2903dfcad523f5 (diff) | |
download | gojail-71fe8a3fbb5274f1cfe909bccf751e62d8dfa723.tar.gz gojail-71fe8a3fbb5274f1cfe909bccf751e62d8dfa723.tar.bz2 gojail-71fe8a3fbb5274f1cfe909bccf751e62d8dfa723.tar.xz |
add needed consts for new/inherit/disable
Diffstat (limited to 'jail_test.go')
-rw-r--r-- | jail_test.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/jail_test.go b/jail_test.go index 72e9fa3..46b0d53 100644 --- a/jail_test.go +++ b/jail_test.go @@ -72,6 +72,7 @@ func TestCreate(t *testing.T) { params := make(map[string]interface{}) params["name"] = "test_create" params["path"] = "/" + params["ip4"] = JAIL_SYS_INHERIT _, err := Set(params, JAIL_CREATE | JAIL_ATTACH) if err != nil { |