summaryrefslogtreecommitdiff
path: root/test/integration/test-00-commands-have-help
diff options
context:
space:
mode:
authorJérémy Bobbio <lunar@debian.org>2015-03-10 10:09:44 +0100
committerDavid Kalnischkies <david@kalnischkies.de>2015-03-16 18:02:08 +0100
commit249aec3b7397662a678ea0014f94392085477b09 (patch)
treec72cbab6791b4de68a23fc496df3a62a0c3810bf /test/integration/test-00-commands-have-help
parent40bd06bdb5e6b90aa24762300567d0650dbda751 (diff)
stop displaying time of build in online help
As part of the “reproducible builds” effort [1], we have noticed that apt could not be built reproducibly. One issue is that it uses the __DATE__ and __TIME__ macros of the C preprocessor to display the time of build in the online help. We believe this information not to be really useful to users as they can always look at the package data and metadata to figure it out. The attached patch simply removes this information. All non-documentation packages can then be built reproducibly with our current experimental framework. [David: changed the string slightly to be untranslateable as well] Closes: 774342
Diffstat (limited to 'test/integration/test-00-commands-have-help')
-rwxr-xr-xtest/integration/test-00-commands-have-help2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/integration/test-00-commands-have-help b/test/integration/test-00-commands-have-help
index bbd1475eb..f2317dbdf 100755
--- a/test/integration/test-00-commands-have-help
+++ b/test/integration/test-00-commands-have-help
@@ -13,7 +13,7 @@ configarchitecture 'amd64'
export LD_BIND_NOW=1
checkversionmessage() {
- testsuccess grep '^apt .* compiled on ' ${1}-help.output
+ testsuccess grep '^apt .* (' ${1}-help.output
}
checkhelpmessage() {