~mmach/netext73/lm-sensors

« back to all changes in this revision

Viewing changes to lib/test/names-quoted.conf

  • Committer: mmach
  • Date: 2020-02-05 20:28:34 UTC
  • Revision ID: netbit73@gmail.com-20200205202834-zc3sla47j9e700w5
3.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
chip "blah-*"
 
2
 
 
3
# keyword with some quoted names
 
4
label "foo" "bar"
 
5
 
 
6
# keyword with escaped newline, names, and whitespace
 
7
label           \
 
8
 "foo" "bar"
 
9
 
 
10
# quoted names with full range of alpha-numeric and underscores
 
11
label "abcdefg" "hijklmnop"
 
12
label "qrs" "tuv"
 
13
label "wx" "yz"
 
14
label "a0123456789" "982lksdf"
 
15
label "_abcd" "1234_"
 
16
label "_" "foo_bar_baz" 
 
17
label "liajesiajef82197fjadf" "blah"
 
18
 
 
19
# quoted names with escaped characters, like C
 
20
# bell, backspace, formfeed, newline, carriage return, h-tab, v-tab, \, ?, ', "
 
21
label escapes "\a\b\f\n\r\t\v\\\?\'\""
 
22
 
 
23
# quoted names with escaped chars that have no special significance
 
24
# i.e. the second string below should collapse to "hello"
 
25
label more "\h\e\l\l\o"
 
26
 
 
27
# keyword with quoted names, immediate EOF
 
28
label "blue" "green"
 
 
b'\\ No newline at end of file'