Skip to content

Commit 87d967f

Browse files
committed
Minor sepgsql regression test fixes.
1 parent c7689ee commit 87d967f

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

contrib/sepgsql/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,5 @@
33
/sepgsql-regtest.if
44
/sepgsql-regtest.pp
55
/tmp
6+
# Generated subdirectories
7+
/results/

contrib/sepgsql/expected/dml.out

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ SECURITY LABEL ON FUNCTION customer_credit(int)
3434
SELECT objtype, objname, label FROM pg_seclabels
3535
WHERE provider = 'selinux'
3636
AND objtype in ('table', 'column')
37-
AND objname in ('t1', 't2', 't3', 't4', 't5', 't5.e', 't5.f', 't5.g');
37+
AND objname in ('t1', 't2', 't3', 't4', 't5', 't5.e', 't5.f', 't5.g')
38+
ORDER BY objname;
3839
objtype | objname | label
3940
---------+---------+---------------------------------------------
4041
table | t1 | system_u:object_r:sepgsql_table_t:s0

contrib/sepgsql/sql/dml.sql

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ SECURITY LABEL ON FUNCTION customer_credit(int)
4040
SELECT objtype, objname, label FROM pg_seclabels
4141
WHERE provider = 'selinux'
4242
AND objtype in ('table', 'column')
43-
AND objname in ('t1', 't2', 't3', 't4', 't5', 't5.e', 't5.f', 't5.g');
43+
AND objname in ('t1', 't2', 't3', 't4', 't5', 't5.e', 't5.f', 't5.g')
44+
ORDER BY objname;
4445

4546
-- Hardwired Rules
4647
UPDATE pg_attribute SET attisdropped = true

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy