tests: add testcase for #140
parent
67dd48a343
commit
95b68f7c02
|
@ -0,0 +1,4 @@
|
|||
Name: escaped-backslash
|
||||
Version: 1
|
||||
Description: test package for backslash escape scenario
|
||||
Cflags: -IC:\\A
|
|
@ -13,6 +13,7 @@ tests_init \
|
|||
tilde_quoting \
|
||||
paren_quoting \
|
||||
multiline_field \
|
||||
escaped_backslash \
|
||||
flag_order_1 \
|
||||
flag_order_2 \
|
||||
flag_order_3 \
|
||||
|
@ -112,6 +113,14 @@ multiline_field_body()
|
|||
pkgconf --list-all
|
||||
}
|
||||
|
||||
escaped_backslash_body()
|
||||
{
|
||||
atf_check \
|
||||
-e ignore \
|
||||
-o inline:"-IC:\\\\\\\\A \n" \
|
||||
pkgconf --with-path=${selfdir}/lib1 --cflags escaped-backslash
|
||||
}
|
||||
|
||||
quoted_body()
|
||||
{
|
||||
export PKG_CONFIG_PATH="${selfdir}/lib1"
|
||||
|
|
Loading…
Reference in New Issue