set_privs.c
v22.2b14/testsuite/single/tests/efuns/set_privs.c · 208 B
From the archive beta.tar.gz
Download the archive « Back to the archive contents
void do_tests() {
#ifdef __PRIVS__
set_privs(this_object(), "foo");
ASSERT(query_privs(this_object()) == "foo");
set_privs(this_object(), 0);
ASSERT(query_privs(this_object()) == 0);
#endif
}