Start adding some special file testcases

This commit is contained in:
Benjamin Sago 2017-04-28 23:24:19 +01:00
parent bd5095d0d0
commit eacbf55594

11
Vagrantfile vendored
View File

@ -139,6 +139,17 @@ Vagrant.configure(2) do |config|
EOF EOF
# Special file testcases.
config.vm.provision :shell, privileged: false, inline: <<-EOF
set -xe
mkdir "#{test_dir}/specials"
sudo mknod "#{test_dir}/specials/block-device" b 3 60
sudo mknod "#{test_dir}/specials/char-device" c 14 40
sudo mknod "#{test_dir}/specials/named-pipe" p
EOF
# Awkward symlink testcases. # Awkward symlink testcases.
config.vm.provision :shell, privileged: false, inline: <<-EOF config.vm.provision :shell, privileged: false, inline: <<-EOF
set -xe set -xe