blob: b56478921bfc89d7225874fc0347a3a7a2b009e7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
Test input and output for EnvSet.
<<< withEmptyFile:error
EnvSet: empty file
<<< withEmptyKey:error
EnvSet: empty key
<<< withEmptyValue:error
EnvSet: empty value
<<< withMissingSection:error
EnvSet: missing section in key
<<< withMissingName:error
EnvSet: missing name in key
<<< withFileNotExist
[host]
name = awwan
<<< withOverwriteValue
[host]
name = overwrite
<<< withQuotedString
[host]
name = overwrite
[host "my"]
name = my-host
|