forked from ariadne/pkgconf
Test --modversion with constraint
parent
08f4a9da15
commit
125af82dbe
|
@ -27,6 +27,9 @@ tests_init \
|
|||
modversion_fullpath \
|
||||
modversion_provides \
|
||||
modversion_uninstalled \
|
||||
modversion_one_word_expression \
|
||||
modversion_two_word_expression \
|
||||
modversion_three_word_expression \
|
||||
pcpath \
|
||||
virtual_variable \
|
||||
fragment_collision \
|
||||
|
@ -301,3 +304,21 @@ modversion_uninstalled_body()
|
|||
atf_check -o inline:"1.2.3\n" \
|
||||
pkgconf --with-path="${selfdir}/lib1" --modversion omg
|
||||
}
|
||||
|
||||
modversion_one_word_expression_body()
|
||||
{
|
||||
atf_check -o inline:"1.2.3\n" \
|
||||
pkgconf --with-path="${selfdir}/lib1" --modversion "foo > 1.0"
|
||||
}
|
||||
|
||||
modversion_two_word_expression_body()
|
||||
{
|
||||
atf_check -o inline:"1.2.3\n" \
|
||||
pkgconf --with-path="${selfdir}/lib1" --modversion foo "> 1.0"
|
||||
}
|
||||
|
||||
modversion_three_word_expression_body()
|
||||
{
|
||||
atf_check -o inline:"1.2.3\n" \
|
||||
pkgconf --with-path="${selfdir}/lib1" --modversion foo ">" 1.0
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue