aboutsummaryrefslogtreecommitdiff
path: root/contrib/pkgconf/tests/version.sh
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/pkgconf/tests/version.sh')
-rwxr-xr-xcontrib/pkgconf/tests/version.sh38
1 files changed, 0 insertions, 38 deletions
diff --git a/contrib/pkgconf/tests/version.sh b/contrib/pkgconf/tests/version.sh
deleted file mode 100755
index 0172c0437da6..000000000000
--- a/contrib/pkgconf/tests/version.sh
+++ /dev/null
@@ -1,38 +0,0 @@
-#!/usr/bin/env atf-sh
-
-. $(atf_get_srcdir)/test_env.sh
-
-tests_init \
- atleast \
- exact \
- max
-
-atleast_body()
-{
- export PKG_CONFIG_PATH="${selfdir}/lib1"
- atf_check \
- pkgconf --atleast-version 1.0 foo
- atf_check \
- -s exit:1 \
- pkgconf --atleast-version 2.0 foo
-}
-
-exact_body()
-{
- export PKG_CONFIG_PATH="${selfdir}/lib1"
- atf_check \
- -s exit:1 \
- pkgconf --exact-version 1.0 foo
- atf_check \
- pkgconf --exact-version 1.2.3 foo
-}
-
-max_body()
-{
- export PKG_CONFIG_PATH="${selfdir}/lib1"
- atf_check \
- -s exit:1 \
- pkgconf --max-version 1.0 foo
- atf_check \
- pkgconf --max-version 2.0 foo
-}