Minor sepgsql regression test fixes.
This commit is contained in:
parent
c7689ee733
commit
87d967f70f
3 changed files with 6 additions and 2 deletions
2
contrib/sepgsql/.gitignore
vendored
2
contrib/sepgsql/.gitignore
vendored
|
@ -3,3 +3,5 @@
|
|||
/sepgsql-regtest.if
|
||||
/sepgsql-regtest.pp
|
||||
/tmp
|
||||
# Generated subdirectories
|
||||
/results/
|
||||
|
|
|
@ -34,7 +34,8 @@ SECURITY LABEL ON FUNCTION customer_credit(int)
|
|||
SELECT objtype, objname, label FROM pg_seclabels
|
||||
WHERE provider = 'selinux'
|
||||
AND objtype in ('table', 'column')
|
||||
AND objname in ('t1', 't2', 't3', 't4', 't5', 't5.e', 't5.f', 't5.g');
|
||||
AND objname in ('t1', 't2', 't3', 't4', 't5', 't5.e', 't5.f', 't5.g')
|
||||
ORDER BY objname;
|
||||
objtype | objname | label
|
||||
---------+---------+---------------------------------------------
|
||||
table | t1 | system_u:object_r:sepgsql_table_t:s0
|
||||
|
|
|
@ -40,7 +40,8 @@ SECURITY LABEL ON FUNCTION customer_credit(int)
|
|||
SELECT objtype, objname, label FROM pg_seclabels
|
||||
WHERE provider = 'selinux'
|
||||
AND objtype in ('table', 'column')
|
||||
AND objname in ('t1', 't2', 't3', 't4', 't5', 't5.e', 't5.f', 't5.g');
|
||||
AND objname in ('t1', 't2', 't3', 't4', 't5', 't5.e', 't5.f', 't5.g')
|
||||
ORDER BY objname;
|
||||
|
||||
-- Hardwired Rules
|
||||
UPDATE pg_attribute SET attisdropped = true
|
||||
|
|
Loading…
Reference in a new issue