summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/.gitignore3
-rw-r--r--tests/pkg/changelog3
-rw-r--r--tests/pkg/control1
-rw-r--r--tests/pkg/format1
-rw-r--r--tests/pkg/patches/01_goodbye.patch7
-rw-r--r--tests/src/src/foo.sh2
6 files changed, 15 insertions, 2 deletions
diff --git a/tests/.gitignore b/tests/.gitignore
index f689c44..b5dca6b 100644
--- a/tests/.gitignore
+++ b/tests/.gitignore
@@ -1,4 +1,3 @@
*.log
*.trs
-/pkg/
-/src/
+/pkg/tmp/
diff --git a/tests/pkg/changelog b/tests/pkg/changelog
new file mode 100644
index 0000000..118a036
--- /dev/null
+++ b/tests/pkg/changelog
@@ -0,0 +1,3 @@
+foo (1.0-1) trunk
+ * Initial release.
+ -- "J. Random Hacker" <jrandom@example.com> Thu, 01 Jan 1970 00:00:00 +0000
diff --git a/tests/pkg/control b/tests/pkg/control
new file mode 100644
index 0000000..6d12994
--- /dev/null
+++ b/tests/pkg/control
@@ -0,0 +1 @@
+Maintainer: "J. Random Hacker" <jrandom@example.com>
diff --git a/tests/pkg/format b/tests/pkg/format
new file mode 100644
index 0000000..cd5ac03
--- /dev/null
+++ b/tests/pkg/format
@@ -0,0 +1 @@
+2.0
diff --git a/tests/pkg/patches/01_goodbye.patch b/tests/pkg/patches/01_goodbye.patch
new file mode 100644
index 0000000..e30f1c4
--- /dev/null
+++ b/tests/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/src/src/foo.sh b/tests/src/src/foo.sh
new file mode 100644
index 0000000..aedab81
--- /dev/null
+++ b/tests/src/src/foo.sh
@@ -0,0 +1,2 @@
+#!/bin/sh
+printf 'Hello, world!\n'