1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
From: Dmitry Bogatov <KAction@gnu.org>
Date: Fri, 30 Aug 2019 23:16:29 +0000
Subject: Do not hardcode ${USER} value in tests.sh
Forwarded: yes
Last-Update: 2017-02-12
Upstream tests assumes that ${USER} = bruce. This patch fixes it.
Last-Update: 2017-02-12
---
tests.sh | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/tests.sh b/tests.sh
index bc43a13..43bbbb1 100644
--- a/tests.sh
+++ b/tests.sh
@@ -465,9 +465,9 @@ Test crontab
bcrontab: Fatal: Username does not match invoking UID
111
-bcron-spool[#]: L bruce
-bcron-spool[#]: Fatal: bruce: Crontab does not exist
-bcron-spool[#]: L bruce
+bcron-spool[#]: L ${USER}
+bcron-spool[#]: Fatal: ${USER}: Crontab does not exist
+bcron-spool[#]: L ${USER}
bcron-spool[#]: Fatal: nobody: Username does not match invoking UID
END_OF_TEST_RESULTS
|