The following commit has been merged in the master branch: commit 56a7afa0fd67c936465ba649a6e1a00fd1ceee89 Author: Niels Thykier <ni...@thykier.net> Date: Tue Dec 28 20:33:44 2010 +0100
Added test for d/control being a symlink. diff --git a/t/COVERAGE b/t/COVERAGE index 15a3b0a..51940bf 100644 --- a/t/COVERAGE +++ b/t/COVERAGE @@ -18,7 +18,6 @@ changes-file bad-section-in-changes-file changes-file checksum-mismatch-in-changes-file changes-file file-size-mismatch-in-changes-file -control-file debian-control-file-is-a-symlink control-file debian-control-with-duplicate-fields control-files control-file-has-bad-owner diff --git a/t/tests/control-file-symlink/desc b/t/tests/control-file-symlink/desc new file mode 100644 index 0000000..a6546ab --- /dev/null +++ b/t/tests/control-file-symlink/desc @@ -0,0 +1,6 @@ +Testname: control-file-symlink +Sequence: 6000 +Version: 1.0 +Description: Test if debian/control is a symlink +Test-For: + debian-control-file-is-a-symlink diff --git a/t/tests/control-file-symlink/pre_build b/t/tests/control-file-symlink/pre_build new file mode 100755 index 0000000..d872c36 --- /dev/null +++ b/t/tests/control-file-symlink/pre_build @@ -0,0 +1,6 @@ +#!/bin/sh + +ROOT_DIR="$1" + +mv "${ROOT_DIR}/debian/control" "${ROOT_DIR}/debian/control.real" +ln -s control.real "${ROOT_DIR}/debian/control" diff --git a/t/tests/control-file-symlink/tags b/t/tests/control-file-symlink/tags new file mode 100644 index 0000000..fe95e35 --- /dev/null +++ b/t/tests/control-file-symlink/tags @@ -0,0 +1 @@ +W: control-file-symlink source: debian-control-file-is-a-symlink -- Debian package checker -- To UNSUBSCRIBE, email to debian-lint-maint-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/e1pxfky-0007y0...@alioth.debian.org