Add test case for UTF-8 parent config file name

This commit is contained in:
Thomas Jensen 2024-02-10 14:44:27 +01:00
parent d62b04e485
commit 2b0e3ceaec
No known key found for this signature in database
GPG Key ID: A4ACEE270D0FB7DB
3 changed files with 46 additions and 0 deletions

18
test/191_data/main.cfg Normal file
View File

@ -0,0 +1,18 @@
parent 191_data/parent_ü.cfg
BOX designA
sample
A from config file main
ends
shapes {
w ("AAA", "AAA", "AAA")
}
elastic (
w
)
END designA

View File

@ -0,0 +1,15 @@
BOX designB
sample
B from config file parent_ü
ends
shapes {
w ("BBB")
}
elastic (
w
)
END designB

View File

@ -0,0 +1,13 @@
:DESC
Reference a design from a parent config defined in a config file with a UTF-8 file name.
:ARGS
-f 191_data/main.cfg -d designB -p l1 -s x3 -a vc
:INPUT
foo
:OUTPUT-FILTER
:EXPECTED
BBB
BBB foo
BBB
:EOF