diff options
author | Niels Thykier <niels@thykier.net> | 2015-01-01 21:18:03 +0100 |
---|---|---|
committer | Niels Thykier <niels@thykier.net> | 2015-01-01 21:18:03 +0100 |
commit | b5f28c0c2f1e15f7bd687b298443d081ff995910 (patch) | |
tree | ba2291ef248ac4222e6551071afab3435a0ecda7 /t | |
parent | 96ae867551d5670da44b1b8ba1611fc4853c28f5 (diff) | |
download | debhelper-b5f28c0c2f1e15f7bd687b298443d081ff995910.tar.gz |
Add editor hints to test scripts
Signed-off-by: Niels Thykier <niels@thykier.net>
Diffstat (limited to 't')
-rwxr-xr-x | t/dh-lib | 6 | ||||
-rwxr-xr-x | t/dh_install | 6 | ||||
-rwxr-xr-x | t/dh_link | 6 | ||||
-rw-r--r-- | t/maintscript | 6 | ||||
-rwxr-xr-x | t/override_target | 6 | ||||
-rwxr-xr-x | t/pod | 6 | ||||
-rwxr-xr-x | t/size | 6 | ||||
-rwxr-xr-x | t/syntax | 6 |
8 files changed, 48 insertions, 0 deletions
@@ -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: @@ -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: @@ -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: @@ -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: @@ -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: |