From 04ed2a5ec67fdd72a4113ba7e14968281f5f7312 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 14 Apr 2024 21:54:34 +0200 Subject: Adding debian version 0.1.21. Signed-off-by: Daniel Baumann --- debian/tests/debputy-cli | 49 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100755 debian/tests/debputy-cli (limited to 'debian/tests/debputy-cli') diff --git a/debian/tests/debputy-cli b/debian/tests/debputy-cli new file mode 100755 index 0000000..cf52f7d --- /dev/null +++ b/debian/tests/debputy-cli @@ -0,0 +1,49 @@ +#!/bin/sh +set -e -u -x + +debputy --no-pager --help +debputy --no-pager check-manifest + +debputy --no-pager plugin --help +debputy --no-pager plugin list --help + +debputy --no-pager plugin list +debputy --no-pager plugin list plugins +debputy --no-pager plugin list ppf +debputy --no-pager plugin list uppf +debputy --no-pager plugin list manifest-variables +debputy --no-pager plugin list manifest-variables --show-all-variables +debputy --no-pager plugin list pmr +debputy --no-pager plugin list automatic-discard-rules +debputy --no-pager plugin list a-d-r + + +debputy --no-pager plugin show ppf changelog +debputy --no-pager plugin show ppf debian/changelog +debputy --no-pager plugin show ppf service + +debputy --no-pager plugin show pmr --help + +echo "Checking installations manifest rules" +for rule in install install-docs install-man discard ; do + debputy --no-pager plugin show pmr "${rule}" +done + +echo "Checking binary package transformations manifest rules" +for rule in TransformationRule::remove move create-symlink path-metadata create-directories \ + run-build-time-tests arch-matches not build-profiles-matches cross-compiling \ + binary-version definitions variables ::definitions definitions::variables ::; do + debputy --no-pager plugin show pmr "${rule}" +done + +for variable in DEB_SOURCE token:TAB DEB_HOST_ARCH DEB_BUILD_ARCH; do + debputy --no-pager plugin show manifest-variables "${variable}" +done + +for rule in python-cache-files la-files backup-files version-control-paths gnu-info-dir-file debian-dir doxygen-cruft-files; do + debputy --no-pager plugin show automatic-discard-rules "${rule}" +done + +debputy --no-pager tool-support annotate-debian-directory +debputy --no-pager tool-support export-reference-data --output-format=json +debputy --no-pager tool-support export-reference-data file-categories -- cgit v1.2.3