summaryrefslogtreecommitdiffstats
path: root/tests/pkg
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pkg')
-rw-r--r--tests/pkg/control/control3
l---------tests/pkg/data/bin/false1
-rwxr-xr-xtests/pkg/data/bin/true7
-rw-r--r--tests/pkg/data/dev/null0
-rw-r--r--tests/pkg/specials3
5 files changed, 14 insertions, 0 deletions
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