summaryrefslogtreecommitdiff
path: root/test/lisp/pcmpl-linux-resources
diff options
context:
space:
mode:
authorStefan Kangas <stefankangas@gmail.com>2020-09-02 05:02:18 +0200
committerStefan Kangas <stefankangas@gmail.com>2020-09-02 12:53:02 +0200
commita50b8397f476b794f06aafb2b755e011566fbc2b (patch)
tree9da6f6bdf7d1f571a1ca9fc4670bcbce60a00a26 /test/lisp/pcmpl-linux-resources
parent2e3ec402938be0d61c19831c12e69a10672dd681 (diff)
downloademacs-a50b8397f476b794f06aafb2b755e011566fbc2b.tar.gz
emacs-a50b8397f476b794f06aafb2b755e011566fbc2b.tar.bz2
emacs-a50b8397f476b794f06aafb2b755e011566fbc2b.zip
Use lexical-binding in pcmpl-linux.el and add tests
* lisp/pcmpl-linux.el: Use lexical-binding. (pcmpl-linux-fs-modules-path-format) (pcmpl-linux-mtab-file): New constants. (pcmpl-linux-fs-types, pcmpl-linux-mounted-directories): Use above new constants. * test/lisp/pcmpl-linux-resources/fs/ext4/.keep: * test/lisp/pcmpl-linux-resources/mtab: * test/lisp/pcmpl-linux-tests.el: New files.
Diffstat (limited to 'test/lisp/pcmpl-linux-resources')
-rw-r--r--test/lisp/pcmpl-linux-resources/fs/ext4/.keep0
-rw-r--r--test/lisp/pcmpl-linux-resources/mtab11
2 files changed, 11 insertions, 0 deletions
diff --git a/test/lisp/pcmpl-linux-resources/fs/ext4/.keep b/test/lisp/pcmpl-linux-resources/fs/ext4/.keep
new file mode 100644
index 00000000000..e69de29bb2d
--- /dev/null
+++ b/test/lisp/pcmpl-linux-resources/fs/ext4/.keep
diff --git a/test/lisp/pcmpl-linux-resources/mtab b/test/lisp/pcmpl-linux-resources/mtab
new file mode 100644
index 00000000000..ea33abd7b0a
--- /dev/null
+++ b/test/lisp/pcmpl-linux-resources/mtab
@@ -0,0 +1,11 @@
+/dev/sdb1 / ext3 rw,relatime,errors=remount-ro 0 0
+proc /proc proc rw,noexec,nosuid,nodev 0 0
+/sys /sys sysfs rw,noexec,nosuid,nodev 0 0
+varrun /var/run tmpfs rw,noexec,nosuid,nodev,mode=0755 0 0
+varlock /var/lock tmpfs rw,noexec,nosuid,nodev,mode=1777 0 0
+udev /dev tmpfs rw,mode=0755 0 0
+devshm /dev/shm tmpfs rw 0 0
+devpts /dev/pts devpts rw,gid=5,mode=620 0 0
+lrm /lib/modules/2.6.24-16-generic/volatile tmpfs rw 0 0
+securityfs /sys/kernel/security securityfs rw 0 0
+gvfs-fuse-daemon /home/alice/.gvfs fuse.gvfs-fuse-daemon rw,nosuid,nodev,user=alice 0 0