summaryrefslogtreecommitdiffstats
path: root/t/recipes/odd-inputs/source/debian-symlink
diff options
context:
space:
mode:
Diffstat (limited to 't/recipes/odd-inputs/source/debian-symlink')
-rw-r--r--t/recipes/odd-inputs/source/debian-symlink/build-spec/fill-values4
-rwxr-xr-xt/recipes/odd-inputs/source/debian-symlink/build-spec/post-clean7
-rw-r--r--t/recipes/odd-inputs/source/debian-symlink/eval/desc2
-rw-r--r--t/recipes/odd-inputs/source/debian-symlink/eval/hints1
4 files changed, 14 insertions, 0 deletions
diff --git a/t/recipes/odd-inputs/source/debian-symlink/build-spec/fill-values b/t/recipes/odd-inputs/source/debian-symlink/build-spec/fill-values
new file mode 100644
index 0000000..d704912
--- /dev/null
+++ b/t/recipes/odd-inputs/source/debian-symlink/build-spec/fill-values
@@ -0,0 +1,4 @@
+Skeleton: source-native
+Testname: debian-symlink
+Version: 1
+Description: Test for debian-dir being a symlink
diff --git a/t/recipes/odd-inputs/source/debian-symlink/build-spec/post-clean b/t/recipes/odd-inputs/source/debian-symlink/build-spec/post-clean
new file mode 100755
index 0000000..6c81a05
--- /dev/null
+++ b/t/recipes/odd-inputs/source/debian-symlink/build-spec/post-clean
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+set -e
+
+packagedir="$1"
+
+ln -sfn . "$packagedir/debian"
diff --git a/t/recipes/odd-inputs/source/debian-symlink/eval/desc b/t/recipes/odd-inputs/source/debian-symlink/eval/desc
new file mode 100644
index 0000000..f2f93c3
--- /dev/null
+++ b/t/recipes/odd-inputs/source/debian-symlink/eval/desc
@@ -0,0 +1,2 @@
+Testname: debian-symlink
+Default-Lintian-Options: --pedantic --display-info --display-experimental
diff --git a/t/recipes/odd-inputs/source/debian-symlink/eval/hints b/t/recipes/odd-inputs/source/debian-symlink/eval/hints
new file mode 100644
index 0000000..bb086eb
--- /dev/null
+++ b/t/recipes/odd-inputs/source/debian-symlink/eval/hints
@@ -0,0 +1 @@
+debian-symlink (source): named-copyright-for-single-installable [copyright]