diff options
Diffstat (limited to 't/recipes/checks/nmu/changelog-file-symlink/build-spec')
-rw-r--r-- | t/recipes/checks/nmu/changelog-file-symlink/build-spec/fill-values | 4 | ||||
-rwxr-xr-x | t/recipes/checks/nmu/changelog-file-symlink/build-spec/pre-build | 6 |
2 files changed, 10 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" |