From 8c9802d5a70273d87dfa0c3530db7539082cc346 Mon Sep 17 00:00:00 2001 From: merakor Date: Mon, 5 Apr 2021 13:02:54 +0000 Subject: tests: add dummy package that exits with error FossilOrigin-Name: 5f0caffb9d411e0a8c123ef8ad54134a69b0941905506209c215f7c783d091b2 --- tests/repository/faulty-pkg/build | 3 +++ tests/repository/faulty-pkg/checksums | 0 tests/repository/faulty-pkg/sources | 1 + tests/repository/faulty-pkg/version | 1 + 4 files changed, 5 insertions(+) create mode 100755 tests/repository/faulty-pkg/build create mode 100644 tests/repository/faulty-pkg/checksums create mode 100644 tests/repository/faulty-pkg/sources create mode 100644 tests/repository/faulty-pkg/version diff --git a/tests/repository/faulty-pkg/build b/tests/repository/faulty-pkg/build new file mode 100755 index 0000000..4cf1c4f --- /dev/null +++ b/tests/repository/faulty-pkg/build @@ -0,0 +1,3 @@ +#!/bin/sh -e + +exit 1 diff --git a/tests/repository/faulty-pkg/checksums b/tests/repository/faulty-pkg/checksums new file mode 100644 index 0000000..e69de29 diff --git a/tests/repository/faulty-pkg/sources b/tests/repository/faulty-pkg/sources new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/tests/repository/faulty-pkg/sources @@ -0,0 +1 @@ + diff --git a/tests/repository/faulty-pkg/version b/tests/repository/faulty-pkg/version new file mode 100644 index 0000000..2fb73a0 --- /dev/null +++ b/tests/repository/faulty-pkg/version @@ -0,0 +1 @@ +1 1 -- cgit v1.2.3