summaryrefslogtreecommitdiffstats
path: root/scripts/t/mk/pkg-info.mk
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--scripts/t/mk/pkg-info.mk9
1 files changed, 9 insertions, 0 deletions
diff --git a/scripts/t/mk/pkg-info.mk b/scripts/t/mk/pkg-info.mk
new file mode 100644
index 0000000..22a2bf4
--- /dev/null
+++ b/scripts/t/mk/pkg-info.mk
@@ -0,0 +1,9 @@
+include $(srcdir)/mk/pkg-info.mk
+
+test:
+ test "$(DEB_SOURCE)" = "source"
+ test "$(DEB_VERSION)" = "1:2:3.4-5-6"
+ test "$(DEB_VERSION_EPOCH_UPSTREAM)" = "1:2:3.4-5"
+ test "$(DEB_VERSION_UPSTREAM_REVISION)" = "2:3.4-5-6"
+ test "$(DEB_VERSION_UPSTREAM)" = "2:3.4-5"
+ test "$(DEB_DISTRIBUTION)" = "suite"