[exim-cvs] Testsuite: avoid one fixed UID

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Exim Git Commits Mailing List
日付:  
To: exim-cvs
題目: [exim-cvs] Testsuite: avoid one fixed UID
Gitweb: https://git.exim.org/exim.git/commitdiff/46017bad89b849137b4b327db699fdc6f63ffbec
Commit:     46017bad89b849137b4b327db699fdc6f63ffbec
Parent:     3b3e6617a45743290ff2428d9a23ab77e137886b
Author:     Jeremy Harris <jgh146exb@???>
AuthorDate: Sun Dec 15 15:03:47 2019 +0000
Committer:  Jeremy Harris <jgh146exb@???>
CommitDate: Sun Dec 15 16:02:42 2019 +0000


    Testsuite: avoid one fixed UID


    This gets us out of a hole on one test system which had UID 1234 in use;
    it is not a full fix as we also (try to) use 5768.
---
 test/aux-fixed/0001.trusted   | 2 --
 test/aux-var-src/0001.trusted | 2 ++
 test/confs/0001               | 2 +-
 test/stdout/0001              | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)


diff --git a/test/aux-fixed/0001.trusted b/test/aux-fixed/0001.trusted
deleted file mode 100644
index ae8c4c1..0000000
--- a/test/aux-fixed/0001.trusted
+++ /dev/null
@@ -1,2 +0,0 @@
-1234
-5678
diff --git a/test/aux-var-src/0001.trusted b/test/aux-var-src/0001.trusted
new file mode 100644
index 0000000..a7216a6
--- /dev/null
+++ b/test/aux-var-src/0001.trusted
@@ -0,0 +1,2 @@
+CALLER_UID
+5678
diff --git a/test/confs/0001 b/test/confs/0001
index fc2ae3e..4dfd09a 100644
--- a/test/confs/0001
+++ b/test/confs/0001
@@ -208,7 +208,7 @@ timeout_frozen_after = 7d
timezone = EDT
tls_advertise_hosts =
trusted_groups = 42
-trusted_users = ${readfile{DIR/aux-fixed/TESTNUM.trusted}{:}}
+trusted_users = ${readfile{DIR/aux-var/TESTNUM.trusted}{:}}
unknown_login = unknownlogin
unknown_username = Exim Testing
untrusted_set_sender = *
diff --git a/test/stdout/0001 b/test/stdout/0001
index 9238c91..adb605f 100644
--- a/test/stdout/0001
+++ b/test/stdout/0001
@@ -17,7 +17,7 @@ retry_interval_max = 1d
receive_timeout = 0s
sender_unqualified_hosts = localhost:some.host.name
no_tcp_nodelay
-trusted_users = 1234:5678
+trusted_users = CALLER:5678
unknown_login = unknownlogin
warn_message_file = /home/exim/test/warnmsg_file
no_syslog_pid