From dffd7a47fbdcac799b4ada5253eab42807d12324 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Mon, 18 Mar 2019 02:31:57 -0400 Subject: tests/aux/common.sh: Copy test package files to build directory --- (limited to 'tests/data/pkg') diff --git a/tests/data/pkg/README b/tests/data/pkg/README new file mode 100644 index 0000000..4e8791e --- /dev/null +++ b/tests/data/pkg/README @@ -0,0 +1,5 @@ +Frobnicator of Objects +====================== + +This is a frobnicator of objects. Conveniently, it also bit-bangs all +registers. diff --git a/tests/data/pkg/bar.pkg/control b/tests/data/pkg/bar.pkg/control new file mode 100644 index 0000000..b0c05fa --- /dev/null +++ b/tests/data/pkg/bar.pkg/control @@ -0,0 +1,6 @@ +Architecture: all +Platform: all +Description: Bit-bang All Registers + ${Common-Description} + . + This package assists in bit-banging all yer registers. diff --git a/tests/data/pkg/changelog b/tests/data/pkg/changelog new file mode 100644 index 0000000..118a036 --- /dev/null +++ b/tests/data/pkg/changelog @@ -0,0 +1,3 @@ +foo (1.0-1) trunk + * Initial release. + -- "J. Random Hacker" Thu, 01 Jan 1970 00:00:00 +0000 diff --git a/tests/data/pkg/control b/tests/data/pkg/control new file mode 100644 index 0000000..6d12994 --- /dev/null +++ b/tests/data/pkg/control @@ -0,0 +1 @@ +Maintainer: "J. Random Hacker" diff --git a/tests/data/pkg/copyright b/tests/data/pkg/copyright new file mode 100644 index 0000000..b4d4b40 --- /dev/null +++ b/tests/data/pkg/copyright @@ -0,0 +1 @@ +Copyright (C) 2038 J. Random Hacker diff --git a/tests/data/pkg/foo.pkg/control b/tests/data/pkg/foo.pkg/control new file mode 100644 index 0000000..1ab7dd1 --- /dev/null +++ b/tests/data/pkg/foo.pkg/control @@ -0,0 +1,6 @@ +Architecture: any-linux-any +Platform: all +Description: Frobnicator of Objects + ${Common-Description} + . + This package provides a frobnicator of objects. diff --git a/tests/data/pkg/foo.pkg/docs b/tests/data/pkg/foo.pkg/docs new file mode 100644 index 0000000..ab59324 --- /dev/null +++ b/tests/data/pkg/foo.pkg/docs @@ -0,0 +1 @@ +../README README.upstream diff --git a/tests/data/pkg/format b/tests/data/pkg/format new file mode 100644 index 0000000..cd5ac03 --- /dev/null +++ b/tests/data/pkg/format @@ -0,0 +1 @@ +2.0 diff --git a/tests/data/pkg/patches/01_goodbye.patch b/tests/data/pkg/patches/01_goodbye.patch new file mode 100644 index 0000000..e30f1c4 --- /dev/null +++ b/tests/data/pkg/patches/01_goodbye.patch @@ -0,0 +1,7 @@ +diff -Naur a/src/foo.sh b/src/foo.sh +--- a/src/foo.sh ++++ b/src/foo.sh +@@ -1,2 +1,2 @@ + #!/bin/sh +-printf 'Hello, world!\n' ++printf 'Goodbye, world!\n' diff --git a/tests/data/pkg/substvars b/tests/data/pkg/substvars new file mode 100644 index 0000000..fbcb606 --- /dev/null +++ b/tests/data/pkg/substvars @@ -0,0 +1,3 @@ +Common-Description: + This is a frobnicator of objects. Conveniently, it also bit-bangs all + registers. -- cgit v0.9.1