summaryrefslogtreecommitdiff
path: root/src/t
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2012-01-31 12:58:03 +0100
committerGuillem Jover <guillem@debian.org>2012-02-01 06:30:30 +0100
commit33f45255ee45479a39c9e913223ddbb17d602aa9 (patch)
tree7692e5e3f14a349b87888bd1f7b0826a0377d71a /src/t
parent9971d255b38c2dc0da40a3ec9c7cf4b1631366f8 (diff)
downloaddpkg-33f45255ee45479a39c9e913223ddbb17d602aa9.tar.gz
Move copyright information from --version output to file comment headers
Having to keep this information twice is error-prone as it easily gets out of sync. Having to translate it is bothersome. It's not consistent across dpkg tools, some do print it some don't. It's currently not accurate, as the output would need to include the holders for all files that end up being part of the binary. And listing it in the --versions output is visually annoying and the wrong place. Just keep this where it belongs, at the file comment headers, above the license information.
Diffstat (limited to 'src/t')
-rw-r--r--src/t/100_dpkg_divert.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/t/100_dpkg_divert.t b/src/t/100_dpkg_divert.t
index 5a4603153..c38c38eae 100644
--- a/src/t/100_dpkg_divert.t
+++ b/src/t/100_dpkg_divert.t
@@ -131,7 +131,7 @@ sub call_divert_badusage {
call_divert(['--help'], expect_stdout_like => $usagere,
expect_stderr => '');
-call_divert(['--version'], expect_stdout_like => qr/.*dpkg-divert.*Copyright.*free software.*/s,
+call_divert(['--version'], expect_stdout_like => qr/.*dpkg-divert.*free software.*/s,
expect_stderr => '');
call_divert_badusage(['--jachsmitbju'], qr/unknown option/);