diff options
Diffstat (limited to '')
4 files changed, 12 insertions, 0 deletions
diff --git a/t/recipes/checks/debian/control/link/control-file-symlink/build-spec/fill-values b/t/recipes/checks/debian/control/link/control-file-symlink/build-spec/fill-values new file mode 100644 index 0000000..9db2167 --- /dev/null +++ b/t/recipes/checks/debian/control/link/control-file-symlink/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: control-file-symlink +Description: Test if debian/control is a symlink diff --git a/t/recipes/checks/debian/control/link/control-file-symlink/build-spec/pre-build b/t/recipes/checks/debian/control/link/control-file-symlink/build-spec/pre-build new file mode 100755 index 0000000..d872c36 --- /dev/null +++ b/t/recipes/checks/debian/control/link/control-file-symlink/build-spec/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/recipes/checks/debian/control/link/control-file-symlink/eval/desc b/t/recipes/checks/debian/control/link/control-file-symlink/eval/desc new file mode 100644 index 0000000..556a375 --- /dev/null +++ b/t/recipes/checks/debian/control/link/control-file-symlink/eval/desc @@ -0,0 +1,2 @@ +Testname: control-file-symlink +Check: debian/control/link diff --git a/t/recipes/checks/debian/control/link/control-file-symlink/eval/hints b/t/recipes/checks/debian/control/link/control-file-symlink/eval/hints new file mode 100644 index 0000000..04be3f2 --- /dev/null +++ b/t/recipes/checks/debian/control/link/control-file-symlink/eval/hints @@ -0,0 +1 @@ +control-file-symlink (source): debian-control-file-is-a-symlink [debian/control] |