summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorNiels Thykier <niels@thykier.net>2015-01-01 21:18:03 +0100
committerNiels Thykier <niels@thykier.net>2015-01-01 21:18:03 +0100
commitb5f28c0c2f1e15f7bd687b298443d081ff995910 (patch)
treeba2291ef248ac4222e6551071afab3435a0ecda7 /t
parent96ae867551d5670da44b1b8ba1611fc4853c28f5 (diff)
downloaddebhelper-b5f28c0c2f1e15f7bd687b298443d081ff995910.tar.gz
Add editor hints to test scripts
Signed-off-by: Niels Thykier <niels@thykier.net>
Diffstat (limited to 't')
-rwxr-xr-xt/dh-lib6
-rwxr-xr-xt/dh_install6
-rwxr-xr-xt/dh_link6
-rw-r--r--t/maintscript6
-rwxr-xr-xt/override_target6
-rwxr-xr-xt/pod6
-rwxr-xr-xt/size6
-rwxr-xr-xt/syntax6
8 files changed, 48 insertions, 0 deletions
diff --git a/t/dh-lib b/t/dh-lib
index 772b1a1e..1006c929 100755
--- a/t/dh-lib
+++ b/t/dh-lib
@@ -29,3 +29,9 @@ ok(autoscript('testpackage', 'postinst', 'postinst-init',
ok_autoscript_result;
ok(unlink('debian/testpackage.postinst.debhelper') >= 0);
+
+# Local Variables:
+# indent-tabs-mode: t
+# tab-width: 4
+# cperl-indent-level: 4
+# End:
diff --git a/t/dh_install b/t/dh_install
index 447a40a8..c2666941 100755
--- a/t/dh_install
+++ b/t/dh_install
@@ -86,3 +86,9 @@ system("mkdir -p bar/usr/bin; touch bar/usr/bin/foo");
system("./dh_install", "bar/usr/bin/foo");
ok(-e "debian/debhelper/bar/usr/bin/foo");
system("rm -rf debian/debhelper bar");
+
+# Local Variables:
+# indent-tabs-mode: t
+# tab-width: 4
+# cperl-indent-level: 4
+# End:
diff --git a/t/dh_link b/t/dh_link
index c6be35be..6b13073c 100755
--- a/t/dh_link
+++ b/t/dh_link
@@ -43,3 +43,9 @@ ok(! -l "debian/debhelper/usr/lib/foo");
ok(readlink("debian/debhelper/usr/lib/bar"), "/etc/foo");
ok(readlink("debian/debhelper/usr/bin/bar"), "foo");
ok(readlink("debian/debhelper/usr/bin/2"),"../lib/1");
+
+# Local Variables:
+# indent-tabs-mode: t
+# tab-width: 4
+# cperl-indent-level: 4
+# End:
diff --git a/t/maintscript b/t/maintscript
index bf15d445..a07ae3e4 100644
--- a/t/maintscript
+++ b/t/maintscript
@@ -17,3 +17,9 @@ for my $script (qw{postinst preinst prerm postrm}) {
ok(grep { m{^dpkg-maintscript-helper mv_conffile /etc/2 /etc/3 1\.0-1 -- "\$\@"$} } @output);
}
system("rm -rf t/tmp");
+
+# Local Variables:
+# indent-tabs-mode: t
+# tab-width: 4
+# cperl-indent-level: 4
+# End:
diff --git a/t/override_target b/t/override_target
index 28ceda84..c4c7eb10 100755
--- a/t/override_target
+++ b/t/override_target
@@ -20,3 +20,9 @@ system("chmod +x t/tmp/debian/rules");
my @output=`cd t/tmp && debian/rules build 2>&1`;
ok(grep { m/override called/ } @output);
system("rm -rf t/tmp");
+
+# Local Variables:
+# indent-tabs-mode: t
+# tab-width: 4
+# cperl-indent-level: 4
+# End:
diff --git a/t/pod b/t/pod
index 8a9c0bf0..b5b5694e 100755
--- a/t/pod
+++ b/t/pod
@@ -8,3 +8,9 @@ eval 'use Test::Pod';
plan skip_all => 'Test::Pod required' if $@;
all_pod_files_ok(grep { -x $_ } glob 'dh_*');
+
+# Local Variables:
+# indent-tabs-mode: t
+# tab-width: 4
+# cperl-indent-level: 4
+# End:
diff --git a/t/size b/t/size
index d8b98964..77446ce1 100755
--- a/t/size
+++ b/t/size
@@ -27,3 +27,9 @@ foreach my $file (@progs) {
ok($lines < 200, $file);
ok($maxlength < 160, $file);
}
+
+# Local Variables:
+# indent-tabs-mode: t
+# tab-width: 4
+# cperl-indent-level: 4
+# End:
diff --git a/t/syntax b/t/syntax
index 92455457..f58577ac 100755
--- a/t/syntax
+++ b/t/syntax
@@ -10,3 +10,9 @@ foreach my $file (@progs, @libs) {
print "# Testing $file\n";
ok(system("perl -c $file >/dev/null 2>&1"), 0);
}
+
+# Local Variables:
+# indent-tabs-mode: t
+# tab-width: 4
+# cperl-indent-level: 4
+# End: