diff options
Diffstat (limited to '')
2 files changed, 16 insertions, 0 deletions
diff --git a/t/recipes/checks/testsuite/does-not-query-declared-python-versions/build-spec/debian/tests/control b/t/recipes/checks/testsuite/does-not-query-declared-python-versions/build-spec/debian/tests/control new file mode 100644 index 0000000..d6ccd9d --- /dev/null +++ b/t/recipes/checks/testsuite/does-not-query-declared-python-versions/build-spec/debian/tests/control @@ -0,0 +1,2 @@ +Tests: script +Depends: python3-all diff --git a/t/recipes/checks/testsuite/does-not-query-declared-python-versions/build-spec/debian/tests/script b/t/recipes/checks/testsuite/does-not-query-declared-python-versions/build-spec/debian/tests/script new file mode 100644 index 0000000..4a0ba92 --- /dev/null +++ b/t/recipes/checks/testsuite/does-not-query-declared-python-versions/build-spec/debian/tests/script @@ -0,0 +1,14 @@ +#!/bin/sh + +# Good +echo $(py3versions -r) +echo $(py3versions -vr) +echo $(py3versions --requested) +echo $(py3versions --verbose --requested) + +# Bad +echo $(py3versions -s) +echo $(py3versions -vs) +echo $(py3versions --supported) +echo $(py3versions --verbose --supported) + |