mirror of
https://gitlab.freedesktop.org/pkg-config/pkg-config.git
synced 2025-12-20 04:20:04 +01:00
Verification of versions in Requires and friends happens differently than the version comparison for command-line packages.
17 lines
281 B
Bash
Executable file
17 lines
281 B
Bash
Executable file
#! /bin/sh
|
|
|
|
set -e
|
|
|
|
. ${srcdir}/common
|
|
|
|
# Test != comparison fails
|
|
RESULT=""
|
|
EXPECT_RETURN=1 run_test --exists requires-version-1
|
|
|
|
# Test >=, > and = succeed
|
|
RESULT=""
|
|
run_test --exists requires-version-2
|
|
|
|
# Test <=, < and != succeed
|
|
RESULT=""
|
|
run_test --exists requires-version-3
|