summaryrefslogtreecommitdiffstats
path: root/scripts/t/mk/pkg-info.mk
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/t/mk/pkg-info.mk')
-rw-r--r--scripts/t/mk/pkg-info.mk11
1 files changed, 11 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..c0e3287
--- /dev/null
+++ b/scripts/t/mk/pkg-info.mk
@@ -0,0 +1,11 @@
+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"
+ test '$(SOURCE_DATE_EPOCH)' = '$(TEST_SOURCE_DATE_EPOCH)'
+ test "$${SOURCE_DATE_EPOCH}" = '$(TEST_SOURCE_DATE_EPOCH)'