diff options
Diffstat (limited to 't/recipes/checks/nmu/changelog-file-symlink')
4 files changed, 13 insertions, 0 deletions
diff --git a/t/recipes/checks/nmu/changelog-file-symlink/build-spec/fill-values b/t/recipes/checks/nmu/changelog-file-symlink/build-spec/fill-values new file mode 100644 index 0000000..bfeebce --- /dev/null +++ b/t/recipes/checks/nmu/changelog-file-symlink/build-spec/fill-values @@ -0,0 +1,4 @@ +Skeleton: source-non-native +Testname: changelog-file-symlink +Source-Format: 3.0 (quilt) +Description: Test for d/changelog being a symlink diff --git a/t/recipes/checks/nmu/changelog-file-symlink/build-spec/pre-build b/t/recipes/checks/nmu/changelog-file-symlink/build-spec/pre-build new file mode 100755 index 0000000..ef27d29 --- /dev/null +++ b/t/recipes/checks/nmu/changelog-file-symlink/build-spec/pre-build @@ -0,0 +1,6 @@ +#!/bin/sh + +dir="$1" + +mv "$dir/debian/changelog" "$dir/debian/changelog.old" +ln -sf changelog.old "$dir/debian/changelog" diff --git a/t/recipes/checks/nmu/changelog-file-symlink/eval/desc b/t/recipes/checks/nmu/changelog-file-symlink/eval/desc new file mode 100644 index 0000000..039a069 --- /dev/null +++ b/t/recipes/checks/nmu/changelog-file-symlink/eval/desc @@ -0,0 +1,2 @@ +Testname: changelog-file-symlink +Check: nmu diff --git a/t/recipes/checks/nmu/changelog-file-symlink/eval/hints b/t/recipes/checks/nmu/changelog-file-symlink/eval/hints new file mode 100644 index 0000000..8bb4595 --- /dev/null +++ b/t/recipes/checks/nmu/changelog-file-symlink/eval/hints @@ -0,0 +1 @@ +changelog-file-symlink (source): changelog-is-symlink [debian/changelog] |