diff options
author | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2023-06-17 17:48:42 (EDT) |
---|---|---|
committer | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2023-06-17 17:48:42 (EDT) |
commit | 20e7387e0bbdee2ebf102df20268a7916fbabff3 (patch) | |
tree | 2eb4e40a70a3a1c65f0cfe95a72acd0dbf6e752c /tests/pkg | |
parent | eba74d1a22fb8f939501e86cc48c84b1fc477d12 (diff) | |
parent | 068d3b26698139ee92e6767648d2ebace18234b6 (diff) |
Merge branch 'feature/test-suite'
Diffstat (limited to 'tests/pkg')
-rw-r--r-- | tests/pkg/control/control | 3 | ||||
l--------- | tests/pkg/data/bin/false | 1 | ||||
-rwxr-xr-x | tests/pkg/data/bin/true | 7 | ||||
-rw-r--r-- | tests/pkg/data/dev/null | 0 | ||||
-rw-r--r-- | tests/pkg/specials | 3 |
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 |