summaryrefslogtreecommitdiffstats
path: root/tests/pkg/data/bin
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2023-06-17 15:32:06 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2023-06-17 15:32:06 (EDT)
commit9691116601943c801c3c5fa0ef18de0643f82871 (patch)
tree8ff3eb0539788ee884bcabdf4c6ae15945fd1200 /tests/pkg/data/bin
parent7d89909b5aa47c9c6e5ee5ce662893abd2c9249a (diff)
tests: Add package work area
Diffstat (limited to 'tests/pkg/data/bin')
l---------tests/pkg/data/bin/false1
-rwxr-xr-xtests/pkg/data/bin/true7
2 files changed, 8 insertions, 0 deletions
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