File: 0015-Debian-Reproducibility-Do-not-run-stp-tests-as-root.patch

package info (click to toggle)
cups 2.4.10-4
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 34,252 kB
  • sloc: ansic: 159,550; cpp: 8,666; sh: 5,479; makefile: 2,783; php: 17; python: 10
file content (23 lines) | stat: -rw-r--r-- 754 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From: Didier Raboud <odyx@debian.org>
Date: Wed, 3 Feb 2021 16:30:08 +0100
Subject: Debian: Reproducibility: Do not run stp tests as root

Reprotest insist in running these tests as root; skip them there.
---
 test/run-stp-tests.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/test/run-stp-tests.sh b/test/run-stp-tests.sh
index 39b53c3..21bc308 100755
--- a/test/run-stp-tests.sh
+++ b/test/run-stp-tests.sh
@@ -19,7 +19,8 @@ argcount=$#
 
 if test "x`id -u`" = x0; then
 	echo Please run this as a normal user. Not supported when run as root.
-	exit 1
+	echo "Debian Reproducibility: Skipping allowed, as this is known to break under reprotest. This message MUST NOT be visible in normal Debian buildd logs."
+	exit 0
 fi
 
 #