summaryrefslogtreecommitdiff
path: root/check/check-requires-version
blob: 6b4e371364f189360b2115cb56cabb724894f10a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#! /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