Przeglądaj źródła

test: Add a correct shebang to all test scripts

This marks all these files as script files, so that tools like
perlcritic do not misrecognize them as modules.
Guillem Jover 13 lat temu
rodzic
commit
b8ef2f3fa6

+ 1 - 0
scripts/t/100_Dpkg_Version.t

@@ -1,3 +1,4 @@
+#!/usr/bin/perl
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by

+ 1 - 0
scripts/t/150_Dpkg_Package.t

@@ -1,3 +1,4 @@
+#!/usr/bin/perl
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by

+ 1 - 0
scripts/t/190_Dpkg_Shlibs_Cppfilt.t

@@ -1,3 +1,4 @@
+#!/usr/bin/perl
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by

+ 1 - 0
scripts/t/200_Dpkg_Shlibs.t

@@ -1,3 +1,4 @@
+#!/usr/bin/perl
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by

+ 1 - 0
scripts/t/300_Dpkg_BuildOptions.t

@@ -1,3 +1,4 @@
+#!/usr/bin/perl
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by

+ 1 - 0
scripts/t/400_Dpkg_Deps.t

@@ -1,3 +1,4 @@
+#!/usr/bin/perl
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by

+ 1 - 0
scripts/t/500_Dpkg_Path.t

@@ -1,3 +1,4 @@
+#!/usr/bin/perl
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by

+ 1 - 0
scripts/t/600_Dpkg_Changelog.t

@@ -1,3 +1,4 @@
+#!/usr/bin/perl
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by

+ 1 - 0
scripts/t/600_Dpkg_Changelog_Ubuntu.t

@@ -1,3 +1,4 @@
+#!/usr/bin/perl
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by

+ 1 - 0
scripts/t/700_Dpkg_Control.t

@@ -1,3 +1,4 @@
+#!/usr/bin/perl
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by

+ 1 - 0
scripts/t/750_Dpkg_Substvars.t

@@ -1,3 +1,4 @@
+#!/usr/bin/perl
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by

+ 1 - 0
scripts/t/800_Dpkg_IPC.t

@@ -1,3 +1,4 @@
+#!/usr/bin/perl
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by

+ 1 - 0
scripts/t/850_Dpkg_Compression.t

@@ -1,3 +1,4 @@
+#!/usr/bin/perl
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by

+ 1 - 0
scripts/t/910_merge_changelogs.t

@@ -1,3 +1,4 @@
+#!/usr/bin/perl
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by

+ 1 - 0
src/t/100_dpkg_divert.t

@@ -1,3 +1,4 @@
+#!/usr/bin/perl
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by

+ 1 - 0
test/000_pod.t

@@ -1,3 +1,4 @@
+#!/usr/bin/perl
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by

+ 1 - 0
utils/t/100_update_alternatives.t

@@ -1,3 +1,4 @@
+#!/usr/bin/perl
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by