From 9691116601943c801c3c5fa0ef18de0643f82871 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Sat, 17 Jun 2023 15:32:06 -0400 Subject: tests: Add package work area --- (limited to 'tests') diff --git a/tests/pkg/control/control b/tests/pkg/control/control new file mode 100644 index 0000000..6955953 --- /dev/null +++ b/tests/pkg/control/control @@ -0,0 +1,3 @@ +Package: foo +Source: foo +Version: 1.0 diff --git a/tests/pkg/data/bin/false b/tests/pkg/data/bin/false new file mode 120000 index 0000000..f32a580 --- /dev/null +++ b/tests/pkg/data/bin/false @@ -0,0 +1 @@ +true \ No newline at end of file diff --git a/tests/pkg/data/bin/true b/tests/pkg/data/bin/true new file mode 100755 index 0000000..7fe2095 --- /dev/null +++ b/tests/pkg/data/bin/true @@ -0,0 +1,7 @@ +#!/bin/sh + +if [ x"$(basename "${0}")" = x'true' ]; then + return 0 +else + return 1 +fi diff --git a/tests/pkg/data/dev/null b/tests/pkg/data/dev/null new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/tests/pkg/data/dev/null diff --git a/tests/pkg/specials b/tests/pkg/specials new file mode 100644 index 0000000..c97eef3 --- /dev/null +++ b/tests/pkg/specials @@ -0,0 +1,3 @@ +version=1 +type major minor name +c 1 3 /dev/null -- cgit v0.9.1