Package: bcron / 0.11-8

0009-patch-hardcoded-upstream-username.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Description: Do not hardcode ${USER} value in tests.sh
 Upstream tests assumes that ${USER} = bruce. This patch fixes it.
Author: Dmitry Bogatov <KAction@gnu.org>
Forwarded: yes
Last-Update: 2017-02-12
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
Index: bcron/tests.sh
===================================================================
--- bcron.orig/tests.sh
+++ bcron/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