diff options
author | merakor <cem@ckyln.com> | 2021-02-04 10:11:35 +0000 |
---|---|---|
committer | merakor <cem@ckyln.com> | 2021-02-04 10:11:35 +0000 |
commit | 63c4051197cfcad2231de6eb9874055d668f47df (patch) | |
tree | 53d3b3e340570e1dda7d763a5071bafe0ad56543 /tests | |
parent | 37d93c5413b1025c8490b57edf2dea821320d2ca (diff) | |
parent | 8d5398a76eda8beec3e7458a1400b9a363afce3d (diff) | |
download | cpt-63c4051197cfcad2231de6eb9874055d668f47df.tar.gz |
Merge branch 'shellspec'
FossilOrigin-Name: 9f02ac446d6b0e692389a85882df0ff8b2ac54ea40c0f040c5c4dd1713456a21
Diffstat (limited to 'tests')
l--------- | tests/etc/cpt-hook | 1 | ||||
-rw-r--r-- | tests/hook-file | 3 | ||||
-rwxr-xr-x | tests/repository/contrib-dummy-pkg/build | 1 | ||||
-rw-r--r-- | tests/repository/contrib-dummy-pkg/checksums | 0 | ||||
-rw-r--r-- | tests/repository/contrib-dummy-pkg/depends | 1 | ||||
-rw-r--r-- | tests/repository/contrib-dummy-pkg/sources | 0 | ||||
-rw-r--r-- | tests/repository/contrib-dummy-pkg/version | 1 | ||||
-rwxr-xr-x | tests/repository/dummy-pkg/build | 4 | ||||
-rw-r--r-- | tests/repository/dummy-pkg/checksums | 0 | ||||
-rw-r--r-- | tests/repository/dummy-pkg/version | 1 |
10 files changed, 12 insertions, 0 deletions
diff --git a/tests/etc/cpt-hook b/tests/etc/cpt-hook new file mode 120000 index 0000000..e95622a --- /dev/null +++ b/tests/etc/cpt-hook @@ -0,0 +1 @@ +../hook-file
\ No newline at end of file diff --git a/tests/hook-file b/tests/hook-file new file mode 100644 index 0000000..4b8a2ce --- /dev/null +++ b/tests/hook-file @@ -0,0 +1,3 @@ +# -*- mode: sh -*- +# This a test hook file that only returns back the $TYPE, $PKG, and $DEST +out "$CPT_HOOK $TYPE $PKG $DEST" diff --git a/tests/repository/contrib-dummy-pkg/build b/tests/repository/contrib-dummy-pkg/build new file mode 100755 index 0000000..270ae64 --- /dev/null +++ b/tests/repository/contrib-dummy-pkg/build @@ -0,0 +1 @@ +#!/bin/sh -e diff --git a/tests/repository/contrib-dummy-pkg/checksums b/tests/repository/contrib-dummy-pkg/checksums new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/tests/repository/contrib-dummy-pkg/checksums diff --git a/tests/repository/contrib-dummy-pkg/depends b/tests/repository/contrib-dummy-pkg/depends new file mode 100644 index 0000000..153ede1 --- /dev/null +++ b/tests/repository/contrib-dummy-pkg/depends @@ -0,0 +1 @@ +dummy-pkg diff --git a/tests/repository/contrib-dummy-pkg/sources b/tests/repository/contrib-dummy-pkg/sources new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/tests/repository/contrib-dummy-pkg/sources diff --git a/tests/repository/contrib-dummy-pkg/version b/tests/repository/contrib-dummy-pkg/version new file mode 100644 index 0000000..2fb73a0 --- /dev/null +++ b/tests/repository/contrib-dummy-pkg/version @@ -0,0 +1 @@ +1 1 diff --git a/tests/repository/dummy-pkg/build b/tests/repository/dummy-pkg/build new file mode 100755 index 0000000..d37d964 --- /dev/null +++ b/tests/repository/dummy-pkg/build @@ -0,0 +1,4 @@ +#!/bin/sh -e + +# Check that we are receiving 3 arguments +[ "$3" ] || exit 1 diff --git a/tests/repository/dummy-pkg/checksums b/tests/repository/dummy-pkg/checksums new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/tests/repository/dummy-pkg/checksums diff --git a/tests/repository/dummy-pkg/version b/tests/repository/dummy-pkg/version new file mode 100644 index 0000000..2fb73a0 --- /dev/null +++ b/tests/repository/dummy-pkg/version @@ -0,0 +1 @@ +1 1 |