summaryrefslogtreecommitdiffstats
path: root/test/fixtures/mount/test-fstab
blob: b2434173fc1bf2c91d0f7766abc51d6bbed305cb (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
proc /proc proc defaults 0 0
none /debug debugfs defaults,noauto 0 0

# Simple obvious test.
/mnt/nice-test-path /dev/null auto ro,noauto 0 0

# Test octal escapes
# Contains ' ' and '-'
/mnt/nice\040test\055path /dev/null auto ro,noauto 0 0
# Contains '$' and '-'
/mnt/nice\044test\055path /dev/null auto ro,noauto 0 0
# Contains ' ' and '\\'
/mnt/nice\040test\134path /dev/null auto ro,noauto 0 0
# Contains '\n' and '\ '
/mnt/nice\012test\040path /dev/null auto ro,noauto 0 0

# Test apostrophe
/mnt/nice'test-path /dev/null auto ro,noauto 0 0
/mnt/other'test\040path /dev/null auto ro,noauto 0 0

# Test some labels
LABEL=Ubuntu\040Karmic /mnt/ubuntu auto no,noauto 0 0
LABEL=Fedora /mnt/fedora auto ro,noauto 0 0
LABEL=Debian-it's\040awesome /mnt/debian auto ro,noauto 0 0