summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsharkdp <davidpeter@web.de>2020-09-20 21:08:58 +0200
committerDavid Peter <sharkdp@users.noreply.github.com>2020-09-20 21:43:18 +0200
commit436a16aba62c1a2fb5021a68c9fdf06b65b534d5 (patch)
treec16d00be4b27c105224995e3ad47efb28adfb145
parent32d22f464d512d22b4feeb49059e094b585ffeff (diff)
Add syntax test for /etc/fstab
-rw-r--r--tests/syntax-tests/highlighted/Fstab/fstab7
-rw-r--r--tests/syntax-tests/source/Fstab/fstab7
2 files changed, 14 insertions, 0 deletions
diff --git a/tests/syntax-tests/highlighted/Fstab/fstab b/tests/syntax-tests/highlighted/Fstab/fstab
new file mode 100644
index 00000000..0107bf4f
--- /dev/null
+++ b/tests/syntax-tests/highlighted/Fstab/fstab
@@ -0,0 +1,7 @@
+# Static information about the filesystems.
+# See fstab(5) for details.
+
+# <file system> <dir> <type> <options> <dump> <pass>
+
+UUID=9e6faddf-31ab-3f3e-9b50-2ad4fbc2ea8b / ext4 rw,relatime,data=ordered 0 1
+UUID=62F8-2047 /boot vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro 0 2
diff --git a/tests/syntax-tests/source/Fstab/fstab b/tests/syntax-tests/source/Fstab/fstab
new file mode 100644
index 00000000..e000b8d9
--- /dev/null
+++ b/tests/syntax-tests/source/Fstab/fstab
@@ -0,0 +1,7 @@
+# Static information about the filesystems.
+# See fstab(5) for details.
+
+# <file system> <dir> <type> <options> <dump> <pass>
+
+UUID=9e6faddf-31ab-3f3e-9b50-2ad4fbc2ea8b / ext4 rw,relatime,data=ordered 0 1
+UUID=62F8-2047 /boot vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro 0 2