*** *** TEST_OVERLAYFS=1 TERMSLASH=1 ./run.sh open-plain.test *** TEST100: Open O_RDONLY - open_file -r /mnt/a/foo100/ -R :xxx:yyy:zzz -E ENOTDIR - open_file -r /mnt/a/foo100/ -R :xxx:yyy:zzz -E ENOTDIR TEST101: Open O_WRONLY - open_file -w /mnt/a/foo101/ -W q -E ENOTDIR - open_file -r /mnt/a/foo101/ -R qxxx:yyy:zzz -E ENOTDIR - open_file -w /mnt/a/foo101/ -W p -E ENOTDIR - open_file -r /mnt/a/foo101/ -R pxxx:yyy:zzz -E ENOTDIR TEST102: Open O_APPEND|O_WRONLY - open_file -a /mnt/a/foo102/ -W q -E ENOTDIR - open_file -r /mnt/a/foo102/ -R :xxx:yyy:zzzq -E ENOTDIR - open_file -a /mnt/a/foo102/ -W p -E ENOTDIR - open_file -r /mnt/a/foo102/ -R :xxx:yyy:zzzqp -E ENOTDIR TEST103: Open O_RDWR - open_file -r -w /mnt/a/foo103/ -W q -E ENOTDIR - open_file -r /mnt/a/foo103/ -R qxxx:yyy:zzz -E ENOTDIR - open_file -r -w /mnt/a/foo103/ -W p -E ENOTDIR - open_file -r /mnt/a/foo103/ -R pxxx:yyy:zzz -E ENOTDIR TEST104: Open O_APPEND|O_RDWR - open_file -r -a /mnt/a/foo104/ -W q -E ENOTDIR - open_file -r /mnt/a/foo104/ -R :xxx:yyy:zzzq -E ENOTDIR - open_file -r -a /mnt/a/foo104/ -W p -E ENOTDIR - open_file -r /mnt/a/foo104/ -R :xxx:yyy:zzzqp -E ENOTDIR *** *** TEST_OVERLAYFS=1 TERMSLASH=1 ./run.sh open-trunc.test *** TEST100: Open O_TRUNC|O_RDONLY - open_file -t -r /mnt/a/foo100/ -R -E ENOTDIR - open_file -t -r /mnt/a/foo100/ -R -E ENOTDIR TEST101: Open O_TRUNC|O_WRONLY - open_file -t -w /mnt/a/foo101/ -W q -E ENOTDIR - open_file -r /mnt/a/foo101/ -R q -E ENOTDIR - open_file -t -w /mnt/a/foo101/ -W p -E ENOTDIR - open_file -r /mnt/a/foo101/ -R p -E ENOTDIR TEST102: Open O_TRUNC|O_APPEND|O_WRONLY - open_file -t -a /mnt/a/foo102/ -W q -E ENOTDIR - open_file -r /mnt/a/foo102/ -R q -E ENOTDIR - open_file -t -a /mnt/a/foo102/ -W p -E ENOTDIR - open_file -r /mnt/a/foo102/ -R p -E ENOTDIR TEST103: Open O_TRUNC|O_RDWR - open_file -t -r -w /mnt/a/foo103/ -W q -E ENOTDIR - open_file -r /mnt/a/foo103/ -R q -E ENOTDIR - open_file -t -r -w /mnt/a/foo103/ -W p -E ENOTDIR - open_file -r /mnt/a/foo103/ -R p -E ENOTDIR TEST104: Open O_TRUNC|O_APPEND|O_RDWR - open_file -t -r -a /mnt/a/foo104/ -W q -E ENOTDIR - open_file -r /mnt/a/foo104/ -R q -E ENOTDIR - open_file -t -r -a /mnt/a/foo104/ -W p -E ENOTDIR - open_file -r /mnt/a/foo104/ -R p -E ENOTDIR *** *** TEST_OVERLAYFS=1 TERMSLASH=1 ./run.sh open-creat.test *** TEST100: Open O_CREAT|O_RDONLY - open_file -c -r /mnt/a/foo100/ -R :xxx:yyy:zzz -E EISDIR - open_file -c -r /mnt/a/foo100/ -R :xxx:yyy:zzz -E EISDIR TEST101: Open O_CREAT|O_WRONLY - open_file -c -w /mnt/a/foo101/ -W q -E EISDIR - open_file -c -r /mnt/a/foo101/ -R qxxx:yyy:zzz -E EISDIR - open_file -c -w /mnt/a/foo101/ -W p -E EISDIR - open_file -c -r /mnt/a/foo101/ -R pxxx:yyy:zzz -E EISDIR TEST102: Open O_CREAT|O_APPEND|O_WRONLY - open_file -c -a /mnt/a/foo102/ -W q -E EISDIR - open_file -c -r /mnt/a/foo102/ -R :xxx:yyy:zzzq -E EISDIR - open_file -c -a /mnt/a/foo102/ -W p -E EISDIR - open_file -c -r /mnt/a/foo102/ -R :xxx:yyy:zzzqp -E EISDIR TEST103: Open O_CREAT|O_RDWR - open_file -c -r -w /mnt/a/foo103/ -W q -E EISDIR - open_file -c -r /mnt/a/foo103/ -R qxxx:yyy:zzz -E EISDIR - open_file -c -r -w /mnt/a/foo103/ -W p -E EISDIR - open_file -c -r /mnt/a/foo103/ -R pxxx:yyy:zzz -E EISDIR TEST104: Open O_CREAT|O_APPEND|O_RDWR - open_file -c -r -a /mnt/a/foo104/ -W q -E EISDIR - open_file -c -r /mnt/a/foo104/ -R :xxx:yyy:zzzq -E EISDIR - open_file -c -r -a /mnt/a/foo104/ -W p -E EISDIR - open_file -c -r /mnt/a/foo104/ -R :xxx:yyy:zzzqp -E EISDIR *** *** TEST_OVERLAYFS=1 TERMSLASH=1 ./run.sh open-creat-trunc.test *** TEST100: Open O_CREAT|O_TRUNC|O_RDONLY - open_file -c -t -r /mnt/a/foo100/ -R -E EISDIR -E EISDIR - open_file -c -t -r /mnt/a/foo100/ -R -E EISDIR -E EISDIR TEST101: Open O_CREAT|O_TRUNC|O_WRONLY - open_file -c -t -w /mnt/a/foo101/ -W q -E EISDIR -E EISDIR - open_file -r /mnt/a/foo101/ -R q -E ENOTDIR -E ENOTDIR - open_file -c -t -w /mnt/a/foo101/ -W p -E EISDIR -E EISDIR - open_file -r /mnt/a/foo101/ -R p -E ENOTDIR -E ENOTDIR TEST102: Open O_CREAT|O_TRUNC|O_APPEND|O_WRONLY - open_file -c -t -a /mnt/a/foo102/ -W q -E EISDIR -E EISDIR - open_file -r /mnt/a/foo102/ -R q -E ENOTDIR -E ENOTDIR - open_file -c -t -a /mnt/a/foo102/ -W p -E EISDIR -E EISDIR - open_file -r /mnt/a/foo102/ -R p -E ENOTDIR -E ENOTDIR TEST103: Open O_CREAT|O_TRUNC|O_RDWR - open_file -c -t -r -w /mnt/a/foo103/ -W q -E EISDIR -E EISDIR - open_file -r /mnt/a/foo103/ -R q -E ENOTDIR -E ENOTDIR - open_file -c -t -r -w /mnt/a/foo103/ -W p -E EISDIR -E EISDIR - open_file -r /mnt/a/foo103/ -R p -E ENOTDIR -E ENOTDIR TEST104: Open O_CREAT|O_TRUNC|O_APPEND|O_RDWR - open_file -c -t -r -a /mnt/a/foo104/ -W q -E EISDIR -E EISDIR - open_file -r /mnt/a/foo104/ -R q -E ENOTDIR -E ENOTDIR - open_file -c -t -r -a /mnt/a/foo104/ -W p -E EISDIR -E EISDIR - open_file -r /mnt/a/foo104/ -R p -E ENOTDIR -E ENOTDIR *** *** TEST_OVERLAYFS=1 TERMSLASH=1 ./run.sh open-creat-excl.test *** TEST100: Open O_CREAT|O_EXCL|O_RDONLY - open_file -c -e -r /mnt/a/foo100/ -E EEXIST -E EISDIR - open_file -r /mnt/a/foo100/ -R :xxx:yyy:zzz -E ENOTDIR TEST101: Open O_CREAT|O_EXCL|O_WRONLY - open_file -c -e -w /mnt/a/foo101/ -E EEXIST -E EISDIR - open_file -r /mnt/a/foo101/ -R :xxx:yyy:zzz -E ENOTDIR TEST102: Open O_CREAT|O_EXCL|O_APPEND|O_WRONLY - open_file -c -e -a /mnt/a/foo102/ -E EEXIST -E EISDIR - open_file -r /mnt/a/foo102/ -R :xxx:yyy:zzz -E ENOTDIR TEST103: Open O_CREAT|O_EXCL|O_RDWR - open_file -c -e -r -w /mnt/a/foo103/ -E EEXIST -E EISDIR - open_file -r /mnt/a/foo103/ -R :xxx:yyy:zzz -E ENOTDIR TEST104: Open O_CREAT|O_EXCL|O_APPEND|O_RDWR - open_file -c -e -r -a /mnt/a/foo104/ -E EEXIST -E EISDIR - open_file -r /mnt/a/foo104/ -R :xxx:yyy:zzz -E ENOTDIR *** *** TEST_OVERLAYFS=1 TERMSLASH=1 ./run.sh open-creat-excl-trunc.test *** TEST100: Open O_CREAT|O_EXCL|O_TRUNC|O_RDONLY - open_file -c -e -t -r /mnt/a/foo100/ -E EEXIST -E EISDIR - open_file -r /mnt/a/foo100/ -R :xxx:yyy:zzz -E ENOTDIR TEST101: Open O_CREAT|O_EXCL|O_TRUNC|O_WRONLY - open_file -c -e -t -w /mnt/a/foo101/ -E EEXIST -E EISDIR - open_file -r /mnt/a/foo101/ -R :xxx:yyy:zzz -E ENOTDIR TEST102: Open O_CREAT|O_EXCL|O_TRUNC|O_APPEND|O_WRONLY - open_file -c -e -t -a /mnt/a/foo102/ -E EEXIST -E EISDIR - open_file -r /mnt/a/foo102/ -R :xxx:yyy:zzz -E ENOTDIR TEST103: Open O_CREAT|O_EXCL|O_TRUNC|O_RDWR - open_file -c -e -t -r -w /mnt/a/foo103/ -E EEXIST -E EISDIR - open_file -r /mnt/a/foo103/ -R :xxx:yyy:zzz -E ENOTDIR TEST104: Open O_CREAT|O_EXCL|O_TRUNC|O_APPEND|O_RDWR - open_file -c -e -t -r -a /mnt/a/foo104/ -E EEXIST -E EISDIR - open_file -r /mnt/a/foo104/ -R :xxx:yyy:zzz -E ENOTDIR *** *** TEST_OVERLAYFS=1 TERMSLASH=1 ./run.sh noent-plain.test *** Try non-existent files: TEST100: Open O_RDONLY - open_file -r /mnt/a/no_foo100/ -E ENOENT -E ENOENT - open_file -r /mnt/a/no_foo100/ -E ENOENT -E ENOENT TEST101: Open O_WRONLY - open_file -w /mnt/a/no_foo101/ -E ENOENT -E ENOENT - open_file -w /mnt/a/no_foo101/ -E ENOENT -E ENOENT TEST102: Open O_APPEND|O_WRONLY - open_file -a /mnt/a/no_foo102/ -E ENOENT -E ENOENT - open_file -a /mnt/a/no_foo102/ -E ENOENT -E ENOENT TEST103: Open O_RDWR - open_file -r -w /mnt/a/no_foo103/ -E ENOENT -E ENOENT - open_file -r -w /mnt/a/no_foo103/ -E ENOENT -E ENOENT TEST104: Open O_APPEND|O_RDWR - open_file -r -a /mnt/a/no_foo104/ -E ENOENT -E ENOENT - open_file -r -a /mnt/a/no_foo104/ -E ENOENT -E ENOENT *** *** TEST_OVERLAYFS=1 TERMSLASH=1 ./run.sh noent-trunc.test *** TEST100: Open O_TRUNC|O_RDONLY - open_file -t -r /mnt/a/no_foo100/ -E ENOENT -E ENOENT - open_file -t -r /mnt/a/no_foo100/ -E ENOENT -E ENOENT TEST101: Open O_TRUNC|O_WRONLY - open_file -t -w /mnt/a/no_foo101/ -E ENOENT -E ENOENT - open_file -t -w /mnt/a/no_foo101/ -E ENOENT -E ENOENT TEST102: Open O_TRUNC|O_APPEND|O_WRONLY - open_file -t -a /mnt/a/no_foo102/ -E ENOENT -E ENOENT - open_file -t -a /mnt/a/no_foo102/ -E ENOENT -E ENOENT TEST103: Open O_TRUNC|O_RDWR - open_file -t -r -w /mnt/a/no_foo103/ -E ENOENT -E ENOENT - open_file -t -r -w /mnt/a/no_foo103/ -E ENOENT -E ENOENT TEST104: Open O_TRUNC|O_APPEND|O_RDWR - open_file -t -r -a /mnt/a/no_foo104/ -E ENOENT -E ENOENT - open_file -t -r -a /mnt/a/no_foo104/ -E ENOENT -E ENOENT *** *** TEST_OVERLAYFS=1 TERMSLASH=1 ./run.sh noent-creat.test *** TEST100: Create O_CREAT|O_RDONLY - open_file -c -r /mnt/a/no_foo100/ -R -E EISDIR - open_file -c -r /mnt/a/no_foo100/ -R -E EISDIR TEST101: Create O_CREAT|O_WRONLY - open_file -c -w /mnt/a/no_foo101/ -W q -E EISDIR - open_file -r /mnt/a/no_foo101/ -R q -E ENOENT - open_file -c -w /mnt/a/no_foo101/ -W p -E EISDIR - open_file -r /mnt/a/no_foo101/ -R p -E ENOENT TEST102: Create O_CREAT|O_APPEND|O_WRONLY - open_file -c -a /mnt/a/no_foo102/ -W q -E EISDIR - open_file -r /mnt/a/no_foo102/ -R q -E ENOENT - open_file -c -a /mnt/a/no_foo102/ -W p -E EISDIR - open_file -r /mnt/a/no_foo102/ -R qp -E ENOENT TEST103: Create O_CREAT|O_RDWR - open_file -c -r -w /mnt/a/no_foo103/ -W q -E EISDIR - open_file -r /mnt/a/no_foo103/ -R q -E ENOENT - open_file -c -r -w /mnt/a/no_foo103/ -W p -E EISDIR - open_file -r /mnt/a/no_foo103/ -R p -E ENOENT TEST104: Create O_CREAT|O_APPEND|O_RDWR - open_file -c -r -a /mnt/a/no_foo104/ -W q -E EISDIR - open_file -r /mnt/a/no_foo104/ -R q -E ENOENT - open_file -c -r -a /mnt/a/no_foo104/ -W p -E EISDIR - open_file -r /mnt/a/no_foo104/ -R qp -E ENOENT *** *** TEST_OVERLAYFS=1 TERMSLASH=1 ./run.sh noent-creat-trunc.test *** TEST100: Create O_CREAT|O_TRUNC|O_RDONLY - open_file -c -t -r /mnt/a/no_foo100/ -R -E EISDIR - open_file -c -t -r /mnt/a/no_foo100/ -R -E EISDIR TEST101: Create O_CREAT|O_TRUNC|O_WRONLY - open_file -c -t -w /mnt/a/no_foo101/ -W q -E EISDIR - open_file -r /mnt/a/no_foo101/ -R q -E ENOENT - open_file -c -t -w /mnt/a/no_foo101/ -W p -E EISDIR - open_file -r /mnt/a/no_foo101/ -R p -E ENOENT TEST102: Create O_CREAT|O_TRUNC|O_APPEND|O_WRONLY - open_file -c -t -a /mnt/a/no_foo102/ -W q -E EISDIR - open_file -r /mnt/a/no_foo102/ -R q -E ENOENT - open_file -c -a /mnt/a/no_foo102/ -W p -E EISDIR - open_file -r /mnt/a/no_foo102/ -R qp -E ENOENT TEST103: Create O_CREAT|O_TRUNC|O_RDWR - open_file -c -t -r -w /mnt/a/no_foo103/ -W q -E EISDIR - open_file -r /mnt/a/no_foo103/ -R q -E ENOENT - open_file -c -r -w /mnt/a/no_foo103/ -W p -E EISDIR - open_file -r /mnt/a/no_foo103/ -R p -E ENOENT TEST104: Create O_CREAT|O_TRUNC|O_APPEND|O_RDWR - open_file -c -t -r -a /mnt/a/no_foo104/ -W q -E EISDIR - open_file -r /mnt/a/no_foo104/ -R q -E ENOENT - open_file -c -r -a /mnt/a/no_foo104/ -W p -E EISDIR - open_file -r /mnt/a/no_foo104/ -R qp -E ENOENT *** *** TEST_OVERLAYFS=1 TERMSLASH=1 ./run.sh noent-creat-excl.test *** TEST100: Create O_CREAT|O_EXCL|O_RDONLY - open_file -c -e -r /mnt/a/no_foo100/ -R -E EISDIR - open_file -c -e -r /mnt/a/no_foo100/ -E EEXIST -E EISDIR - open_file -r /mnt/a/no_foo100/ -R -E ENOENT TEST101: Create O_CREAT|O_EXCL|O_WRONLY - open_file -c -e -w /mnt/a/no_foo101/ -W q -E EISDIR - open_file -r /mnt/a/no_foo101/ -R q -E ENOENT - open_file -c -e -w /mnt/a/no_foo101/ -E EEXIST -E EISDIR - open_file -r /mnt/a/no_foo101/ -R q -E ENOENT TEST102: Create O_CREAT|O_EXCL|O_APPEND|O_WRONLY - open_file -c -e -a /mnt/a/no_foo102/ -W q -E EISDIR - open_file -r /mnt/a/no_foo102/ -R q -E ENOENT - open_file -c -e -a /mnt/a/no_foo102/ -E EEXIST -E EISDIR - open_file -r /mnt/a/no_foo102/ -R q -E ENOENT TEST103: Create O_CREAT|O_EXCL|O_RDWR - open_file -c -e -r -w /mnt/a/no_foo103/ -W q -E EISDIR - open_file -r /mnt/a/no_foo103/ -R q -E ENOENT - open_file -c -e -r -w /mnt/a/no_foo103/ -E EEXIST -E EISDIR - open_file -r /mnt/a/no_foo103/ -R q -E ENOENT TEST104: Create O_CREAT|O_EXCL|O_APPEND|O_RDWR - open_file -c -e -r -a /mnt/a/no_foo104/ -W q -E EISDIR - open_file -r /mnt/a/no_foo104/ -R q -E ENOENT - open_file -c -e -r -a /mnt/a/no_foo104/ -E EEXIST -E EISDIR - open_file -r /mnt/a/no_foo104/ -R q -E ENOENT *** *** TEST_OVERLAYFS=1 TERMSLASH=1 ./run.sh noent-creat-excl-trunc.test *** TEST100: Create O_CREAT|O_EXCL|O_TRUNC|O_RDONLY - open_file -c -e -t -r /mnt/a/no_foo100/ -R -E EISDIR - open_file -c -e -t -r /mnt/a/no_foo100/ -E EEXIST -E EISDIR - open_file -r /mnt/a/no_foo100/ -R -E ENOENT TEST101: Create O_CREAT|O_EXCL|O_TRUNC|O_WRONLY - open_file -c -e -t -w /mnt/a/no_foo101/ -W q -E EISDIR - open_file -r /mnt/a/no_foo101/ -R q -E ENOENT - open_file -c -e -t -w /mnt/a/no_foo101/ -E EEXIST -E EISDIR - open_file -r /mnt/a/no_foo101/ -R q -E ENOENT TEST102: Create O_CREAT|O_EXCL|O_TRUNC|O_APPEND|O_WRONLY - open_file -c -e -t -a /mnt/a/no_foo102/ -W q -E EISDIR - open_file -r /mnt/a/no_foo102/ -R q -E ENOENT - open_file -c -e -a /mnt/a/no_foo102/ -E EEXIST -E EISDIR - open_file -r /mnt/a/no_foo102/ -R q -E ENOENT TEST103: Create O_CREAT|O_EXCL|O_TRUNC|O_RDWR - open_file -c -e -t -r -w /mnt/a/no_foo103/ -W q -E EISDIR - open_file -r /mnt/a/no_foo103/ -R q -E ENOENT - open_file -c -e -r -w /mnt/a/no_foo103/ -E EEXIST -E EISDIR - open_file -r /mnt/a/no_foo103/ -R q -E ENOENT TEST104: Create O_CREAT|O_EXCL|O_TRUNC|O_APPEND|O_RDWR - open_file -c -e -t -r -a /mnt/a/no_foo104/ -W q -E EISDIR - open_file -r /mnt/a/no_foo104/ -R q -E ENOENT - open_file -c -e -r -a /mnt/a/no_foo104/ -E EEXIST -E EISDIR - open_file -r /mnt/a/no_foo104/ -R q -E ENOENT *** *** TEST_OVERLAYFS=1 TERMSLASH=1 ./run.sh sym1-plain.test *** TEST100: Open(symlink) O_RDONLY - open_file -r /mnt/a/direct_sym100/ -R :xxx:yyy:zzz -E ENOTDIR - open_file -r /mnt/a/direct_sym100/ -R :xxx:yyy:zzz -E ENOTDIR TEST101: Open(symlink) O_WRONLY - open_file -w /mnt/a/direct_sym101/ -W q -E ENOTDIR - open_file -r /mnt/a/direct_sym101/ -R qxxx:yyy:zzz -E ENOTDIR - open_file -w /mnt/a/direct_sym101/ -W p -E ENOTDIR - open_file -r /mnt/a/direct_sym101/ -R pxxx:yyy:zzz -E ENOTDIR TEST102: Open(symlink) O_APPEND|O_WRONLY - open_file -a /mnt/a/direct_sym102/ -W q -E ENOTDIR - open_file -r /mnt/a/direct_sym102/ -R :xxx:yyy:zzzq -E ENOTDIR - open_file -a /mnt/a/direct_sym102/ -W p -E ENOTDIR - open_file -r /mnt/a/direct_sym102/ -R :xxx:yyy:zzzqp -E ENOTDIR TEST103: Open(symlink) O_RDWR - open_file -r -w /mnt/a/direct_sym103/ -W q -E ENOTDIR - open_file -r /mnt/a/direct_sym103/ -R qxxx:yyy:zzz -E ENOTDIR - open_file -r -w /mnt/a/direct_sym103/ -W p -E ENOTDIR - open_file -r /mnt/a/direct_sym103/ -R pxxx:yyy:zzz -E ENOTDIR TEST104: Open(symlink) O_APPEND|O_RDWR - open_file -r -a /mnt/a/direct_sym104/ -W q -E ENOTDIR - open_file -r /mnt/a/direct_sym104/ -R :xxx:yyy:zzzq -E ENOTDIR - open_file -r -a /mnt/a/direct_sym104/ -W p -E ENOTDIR - open_file -r /mnt/a/direct_sym104/ -R :xxx:yyy:zzzqp -E ENOTDIR *** *** TEST_OVERLAYFS=1 TERMSLASH=1 ./run.sh sym1-trunc.test *** TEST100: Open(symlink) O_TRUNC|O_RDONLY - open_file -t -r /mnt/a/direct_sym100/ -R -E ENOTDIR - open_file -t -r /mnt/a/direct_sym100/ -R -E ENOTDIR TEST101: Open(symlink) O_TRUNC|O_WRONLY - open_file -t -w /mnt/a/direct_sym101/ -W q -E ENOTDIR - open_file -r /mnt/a/direct_sym101/ -R q -E ENOTDIR - open_file -t -w /mnt/a/direct_sym101/ -W p -E ENOTDIR - open_file -r /mnt/a/direct_sym101/ -R p -E ENOTDIR TEST102: Open(symlink) O_TRUNC|O_APPEND|O_WRONLY - open_file -t -a /mnt/a/direct_sym102/ -W q -E ENOTDIR - open_file -r /mnt/a/direct_sym102/ -R q -E ENOTDIR - open_file -t -a /mnt/a/direct_sym102/ -W p -E ENOTDIR - open_file -r /mnt/a/direct_sym102/ -R p -E ENOTDIR TEST103: Open(symlink) O_TRUNC|O_RDWR - open_file -t -r -w /mnt/a/direct_sym103/ -W q -E ENOTDIR - open_file -r /mnt/a/direct_sym103/ -R q -E ENOTDIR - open_file -t -r -w /mnt/a/direct_sym103/ -W p -E ENOTDIR - open_file -r /mnt/a/direct_sym103/ -R p -E ENOTDIR TEST104: Open(symlink) O_TRUNC|O_APPEND|O_RDWR - open_file -t -r -a /mnt/a/direct_sym104/ -W q -E ENOTDIR - open_file -r /mnt/a/direct_sym104/ -R q -E ENOTDIR - open_file -t -r -a /mnt/a/direct_sym104/ -W p -E ENOTDIR - open_file -r /mnt/a/direct_sym104/ -R p -E ENOTDIR *** *** TEST_OVERLAYFS=1 TERMSLASH=1 ./run.sh sym1-creat.test *** TEST100: Open(symlink) O_CREAT|O_RDONLY - open_file -c -r /mnt/a/direct_sym100/ -R :xxx:yyy:zzz -E EISDIR - open_file -c -r /mnt/a/direct_sym100/ -R :xxx:yyy:zzz -E EISDIR TEST101: Open(symlink) O_CREAT|O_WRONLY - open_file -c -w /mnt/a/direct_sym101/ -W q -E EISDIR - open_file -c -r /mnt/a/direct_sym101/ -R qxxx:yyy:zzz -E EISDIR - open_file -c -w /mnt/a/direct_sym101/ -W p -E EISDIR - open_file -c -r /mnt/a/direct_sym101/ -R pxxx:yyy:zzz -E EISDIR TEST102: Open(symlink) O_CREAT|O_APPEND|O_WRONLY - open_file -c -a /mnt/a/direct_sym102/ -W q -E EISDIR - open_file -c -r /mnt/a/direct_sym102/ -R :xxx:yyy:zzzq -E EISDIR - open_file -c -a /mnt/a/direct_sym102/ -W p -E EISDIR - open_file -c -r /mnt/a/direct_sym102/ -R :xxx:yyy:zzzqp -E EISDIR TEST103: Open(symlink) O_CREAT|O_RDWR - open_file -c -r -w /mnt/a/direct_sym103/ -W q -E EISDIR - open_file -c -r /mnt/a/direct_sym103/ -R qxxx:yyy:zzz -E EISDIR - open_file -c -r -w /mnt/a/direct_sym103/ -W p -E EISDIR - open_file -c -r /mnt/a/direct_sym103/ -R pxxx:yyy:zzz -E EISDIR TEST104: Open(symlink) O_CREAT|O_APPEND|O_RDWR - open_file -c -r -a /mnt/a/direct_sym104/ -W q -E EISDIR - open_file -c -r /mnt/a/direct_sym104/ -R :xxx:yyy:zzzq -E EISDIR - open_file -c -r -a /mnt/a/direct_sym104/ -W p -E EISDIR - open_file -c -r /mnt/a/direct_sym104/ -R :xxx:yyy:zzzqp -E EISDIR *** *** TEST_OVERLAYFS=1 TERMSLASH=1 ./run.sh sym1-creat-excl.test *** TEST100: Open(symlink) O_CREAT|O_EXCL|O_RDONLY - open_file -c -e -r /mnt/a/direct_sym100/ -E EEXIST -E EISDIR - open_file -r /mnt/a/direct_sym100/ -R :xxx:yyy:zzz -E ENOTDIR TEST101: Open(symlink) O_CREAT|O_EXCL|O_WRONLY - open_file -c -e -w /mnt/a/direct_sym101/ -E EEXIST -E EISDIR - open_file -r /mnt/a/direct_sym101/ -R :xxx:yyy:zzz -E ENOTDIR TEST102: Open(symlink) O_CREAT|O_EXCL|O_APPEND|O_WRONLY - open_file -c -e -a /mnt/a/direct_sym102/ -E EEXIST -E EISDIR - open_file -r /mnt/a/direct_sym102/ -R :xxx:yyy:zzz -E ENOTDIR TEST103: Open(symlink) O_CREAT|O_EXCL|O_RDWR - open_file -c -e -r -w /mnt/a/direct_sym103/ -E EEXIST -E EISDIR - open_file -r /mnt/a/direct_sym103/ -R :xxx:yyy:zzz -E ENOTDIR TEST104: Open(symlink) O_CREAT|O_EXCL|O_APPEND|O_RDWR - open_file -c -e -r -a /mnt/a/direct_sym104/ -E EEXIST -E EISDIR - open_file -r /mnt/a/direct_sym104/ -R :xxx:yyy:zzz -E ENOTDIR *** *** TEST_OVERLAYFS=1 TERMSLASH=1 ./run.sh sym2-plain.test *** TEST100: Open(symlink->symlink) O_RDONLY - open_file -r /mnt/a/indirect_sym100/ -R :xxx:yyy:zzz -E ENOTDIR - open_file -r /mnt/a/indirect_sym100/ -R :xxx:yyy:zzz -E ENOTDIR TEST101: Open(symlink->symlink) O_WRONLY - open_file -w /mnt/a/indirect_sym101/ -W q -E ENOTDIR - open_file -r /mnt/a/indirect_sym101/ -R qxxx:yyy:zzz -E ENOTDIR - open_file -w /mnt/a/indirect_sym101/ -W p -E ENOTDIR - open_file -r /mnt/a/indirect_sym101/ -R pxxx:yyy:zzz -E ENOTDIR TEST102: Open(symlink->symlink) O_APPEND|O_WRONLY - open_file -a /mnt/a/indirect_sym102/ -W q -E ENOTDIR - open_file -r /mnt/a/indirect_sym102/ -R :xxx:yyy:zzzq -E ENOTDIR - open_file -a /mnt/a/indirect_sym102/ -W p -E ENOTDIR - open_file -r /mnt/a/indirect_sym102/ -R :xxx:yyy:zzzqp -E ENOTDIR TEST103: Open(symlink->symlink) O_RDWR - open_file -r -w /mnt/a/indirect_sym103/ -W q -E ENOTDIR - open_file -r /mnt/a/indirect_sym103/ -R qxxx:yyy:zzz -E ENOTDIR - open_file -r -w /mnt/a/indirect_sym103/ -W p -E ENOTDIR - open_file -r /mnt/a/indirect_sym103/ -R pxxx:yyy:zzz -E ENOTDIR TEST104: Open(symlink->symlink) O_APPEND|O_RDWR - open_file -r -a /mnt/a/indirect_sym104/ -W q -E ENOTDIR - open_file -r /mnt/a/indirect_sym104/ -R :xxx:yyy:zzzq -E ENOTDIR - open_file -r -a /mnt/a/indirect_sym104/ -W p -E ENOTDIR - open_file -r /mnt/a/indirect_sym104/ -R :xxx:yyy:zzzqp -E ENOTDIR *** *** TEST_OVERLAYFS=1 TERMSLASH=1 ./run.sh sym2-trunc.test *** TEST100: Open(symlink->symlink) O_TRUNC|O_RDONLY - open_file -t -r /mnt/a/indirect_sym100/ -R -E ENOTDIR - open_file -t -r /mnt/a/indirect_sym100/ -R -E ENOTDIR TEST101: Open(symlink->symlink) O_TRUNC|O_WRONLY - open_file -t -w /mnt/a/indirect_sym101/ -W q -E ENOTDIR - open_file -r /mnt/a/indirect_sym101/ -R q -E ENOTDIR - open_file -t -w /mnt/a/indirect_sym101/ -W p -E ENOTDIR - open_file -r /mnt/a/indirect_sym101/ -R p -E ENOTDIR TEST102: Open(symlink->symlink) O_TRUNC|O_APPEND|O_WRONLY - open_file -t -a /mnt/a/indirect_sym102/ -W q -E ENOTDIR - open_file -r /mnt/a/indirect_sym102/ -R q -E ENOTDIR - open_file -t -a /mnt/a/indirect_sym102/ -W p -E ENOTDIR - open_file -r /mnt/a/indirect_sym102/ -R p -E ENOTDIR TEST103: Open(symlink->symlink) O_TRUNC|O_RDWR - open_file -t -r -w /mnt/a/indirect_sym103/ -W q -E ENOTDIR - open_file -r /mnt/a/indirect_sym103/ -R q -E ENOTDIR - open_file -t -r -w /mnt/a/indirect_sym103/ -W p -E ENOTDIR - open_file -r /mnt/a/indirect_sym103/ -R p -E ENOTDIR TEST104: Open(symlink->symlink) O_TRUNC|O_APPEND|O_RDWR - open_file -t -r -a /mnt/a/indirect_sym104/ -W q -E ENOTDIR - open_file -r /mnt/a/indirect_sym104/ -R q -E ENOTDIR - open_file -t -r -a /mnt/a/indirect_sym104/ -W p -E ENOTDIR - open_file -r /mnt/a/indirect_sym104/ -R p -E ENOTDIR *** *** TEST_OVERLAYFS=1 TERMSLASH=1 ./run.sh sym2-creat.test *** TEST100: Open(symlink->symlink) O_CREAT|O_RDONLY - open_file -c -r /mnt/a/indirect_sym100/ -R :xxx:yyy:zzz -E EISDIR - open_file -c -r /mnt/a/indirect_sym100/ -R :xxx:yyy:zzz -E EISDIR TEST101: Open(symlink->symlink) O_CREAT|O_WRONLY - open_file -c -w /mnt/a/indirect_sym101/ -W q -E EISDIR - open_file -c -r /mnt/a/indirect_sym101/ -R qxxx:yyy:zzz -E EISDIR - open_file -c -w /mnt/a/indirect_sym101/ -W p -E EISDIR - open_file -c -r /mnt/a/indirect_sym101/ -R pxxx:yyy:zzz -E EISDIR TEST102: Open(symlink->symlink) O_CREAT|O_APPEND|O_WRONLY - open_file -c -a /mnt/a/indirect_sym102/ -W q -E EISDIR - open_file -c -r /mnt/a/indirect_sym102/ -R :xxx:yyy:zzzq -E EISDIR - open_file -c -a /mnt/a/indirect_sym102/ -W p -E EISDIR - open_file -c -r /mnt/a/indirect_sym102/ -R :xxx:yyy:zzzqp -E EISDIR TEST103: Open(symlink->symlink) O_CREAT|O_RDWR - open_file -c -r -w /mnt/a/indirect_sym103/ -W q -E EISDIR - open_file -c -r /mnt/a/indirect_sym103/ -R qxxx:yyy:zzz -E EISDIR - open_file -c -r -w /mnt/a/indirect_sym103/ -W p -E EISDIR - open_file -c -r /mnt/a/indirect_sym103/ -R pxxx:yyy:zzz -E EISDIR TEST104: Open(symlink->symlink) O_CREAT|O_APPEND|O_RDWR - open_file -c -r -a /mnt/a/indirect_sym104/ -W q -E EISDIR - open_file -c -r /mnt/a/indirect_sym104/ -R :xxx:yyy:zzzq -E EISDIR - open_file -c -r -a /mnt/a/indirect_sym104/ -W p -E EISDIR - open_file -c -r /mnt/a/indirect_sym104/ -R :xxx:yyy:zzzqp -E EISDIR *** *** TEST_OVERLAYFS=1 TERMSLASH=1 ./run.sh sym2-creat-excl.test *** TEST100: Open(symlink->symlink) O_CREAT|O_EXCL|O_RDONLY - open_file -c -e -r /mnt/a/indirect_sym100/ -E EEXIST -E EISDIR - open_file -r /mnt/a/indirect_sym100/ -R :xxx:yyy:zzz -E ENOTDIR TEST101: Open(symlink->symlink) O_CREAT|O_EXCL|O_WRONLY - open_file -c -e -w /mnt/a/indirect_sym101/ -E EEXIST -E EISDIR - open_file -r /mnt/a/indirect_sym101/ -R :xxx:yyy:zzz -E ENOTDIR TEST102: Open(symlink->symlink) O_CREAT|O_EXCL|O_APPEND|O_WRONLY - open_file -c -e -a /mnt/a/indirect_sym102/ -E EEXIST -E EISDIR - open_file -r /mnt/a/indirect_sym102/ -R :xxx:yyy:zzz -E ENOTDIR TEST103: Open(symlink->symlink) O_CREAT|O_EXCL|O_RDWR - open_file -c -e -r -w /mnt/a/indirect_sym103/ -E EEXIST -E EISDIR - open_file -r /mnt/a/indirect_sym103/ -R :xxx:yyy:zzz -E ENOTDIR TEST104: Open(symlink->symlink) O_CREAT|O_EXCL|O_APPEND|O_RDWR - open_file -c -e -r -a /mnt/a/indirect_sym104/ -E EEXIST -E EISDIR - open_file -r /mnt/a/indirect_sym104/ -R :xxx:yyy:zzz -E ENOTDIR *** *** TEST_OVERLAYFS=1 TERMSLASH=1 ./run.sh symx-plain.test *** TEST100: Open(broken) O_RDONLY - open_file -r /mnt/a/pointless100/ -E ENOENT - open_file -r /mnt/a/no_foo100/ -E ENOENT -E ENOENT TEST101: Open(broken) O_WRONLY - open_file -w /mnt/a/pointless101/ -E ENOENT - open_file -r /mnt/a/no_foo101/ -E ENOENT -E ENOENT TEST102: Open(broken) O_APPEND|O_WRONLY - open_file -a /mnt/a/pointless102/ -E ENOENT - open_file -r /mnt/a/no_foo102/ -E ENOENT -E ENOENT TEST103: Open(broken) O_RDWR - open_file -r -w /mnt/a/pointless103/ -E ENOENT - open_file -r /mnt/a/no_foo103/ -E ENOENT -E ENOENT TEST104: Open(broken) O_APPEND|O_RDWR - open_file -r -a /mnt/a/pointless104/ -E ENOENT - open_file -r /mnt/a/no_foo104/ -E ENOENT -E ENOENT *** *** TEST_OVERLAYFS=1 TERMSLASH=1 ./run.sh symx-trunc.test *** TEST100: Open(broken) O_TRUNC|O_RDONLY - open_file -t -r /mnt/a/pointless100/ -E ENOENT TEST101: Open(broken) O_TRUNC|O_WRONLY - open_file -t -w /mnt/a/pointless101/ -E ENOENT TEST102: Open(broken) O_TRUNC|O_APPEND|O_WRONLY - open_file -t -a /mnt/a/pointless102/ -E ENOENT TEST103: Open(broken) O_TRUNC|O_RDWR - open_file -t -r -w /mnt/a/pointless103/ -E ENOENT TEST104: Open(broken) O_TRUNC|O_APPEND|O_RDWR - open_file -t -r -a /mnt/a/pointless104/ -E ENOENT *** *** TEST_OVERLAYFS=1 TERMSLASH=1 ./run.sh symx-creat.test *** TEST100: Open(broken) O_CREAT|O_RDONLY - open_file -c -r /mnt/a/pointless100/ -R -E EISDIR - open_file -r /mnt/a/no_foo100/ -R -E ENOENT TEST101: Open(broken) O_CREAT|O_WRONLY - open_file -c -w /mnt/a/pointless101/ -W q -E EISDIR - open_file -r /mnt/a/no_foo101/ -R q -E ENOENT TEST102: Open(broken) O_CREAT|O_APPEND|O_WRONLY - open_file -c -a /mnt/a/pointless102/ -W q -E EISDIR - open_file -r /mnt/a/no_foo102/ -R q -E ENOENT TEST103: Open(broken) O_CREAT|O_RDWR - open_file -c -r -w /mnt/a/pointless103/ -W q -E EISDIR - open_file -r /mnt/a/no_foo103/ -R q -E ENOENT TEST104: Open(broken) O_CREAT|O_APPEND|O_RDWR - open_file -c -r -a /mnt/a/pointless104/ -W q -E EISDIR - open_file -r /mnt/a/no_foo104/ -R q -E ENOENT *** *** TEST_OVERLAYFS=1 TERMSLASH=1 ./run.sh symx-creat-excl.test *** TEST100: Open(broken) O_CREAT|O_EXCL|O_RDONLY - open_file -c -e -r /mnt/a/pointless100/ -E EEXIST -E EISDIR TEST101: Open(broken) O_CREAT|O_EXCL|O_WRONLY - open_file -c -e -w /mnt/a/pointless101/ -E EEXIST -E EISDIR TEST102: Open(broken) O_CREAT|O_EXCL|O_APPEND|O_WRONLY - open_file -c -e -a /mnt/a/pointless102/ -E EEXIST -E EISDIR TEST103: Open(broken) O_CREAT|O_EXCL|O_RDWR - open_file -c -e -r -w /mnt/a/pointless103/ -E EEXIST -E EISDIR TEST104: Open(broken) O_CREAT|O_EXCL|O_APPEND|O_RDWR - open_file -c -e -r -a /mnt/a/pointless104/ -E EEXIST -E EISDIR *** *** TEST_OVERLAYFS=1 TERMSLASH=1 ./run.sh symx-creat-trunc.test *** TEST100: Open(broken) O_CREAT|O_TRUNC|O_RDONLY - open_file -c -t -r /mnt/a/pointless100/ -R -E EISDIR - open_file -r /mnt/a/no_foo100/ -R -E ENOENT TEST101: Open(broken) O_CREAT|O_TRUNC|O_WRONLY - open_file -c -t -w /mnt/a/pointless101/ -W q -E EISDIR - open_file -r /mnt/a/no_foo101/ -R q -E ENOENT TEST102: Open(broken) O_CREAT|O_TRUNC|O_APPEND|O_WRONLY - open_file -c -t -a /mnt/a/pointless102/ -W q -E EISDIR - open_file -r /mnt/a/no_foo102/ -R q -E ENOENT TEST103: Open(broken) O_CREAT|O_TRUNC|O_RDWR - open_file -c -t -r -w /mnt/a/pointless103/ -W q -E EISDIR - open_file -r /mnt/a/no_foo103/ -R q -E ENOENT TEST104: Open(broken) O_CREAT|O_TRUNC|O_APPEND|O_RDWR - open_file -c -t -r -a /mnt/a/pointless104/ -W q -E EISDIR - open_file -r /mnt/a/no_foo104/ -R q -E ENOENT *** *** TEST_OVERLAYFS=1 TERMSLASH=1 ./run.sh truncate.test *** TEST129: Prepare comparison 16+0 records in 16+0 records out TEST100: Truncate to 0 - fs_op truncate /mnt/a/foo100/ 0 -E ENOTDIR -E ENOTDIR TEST101: Truncate to 1 - fs_op truncate /mnt/a/foo101/ 1 -E ENOTDIR -E ENOTDIR TEST102: Truncate to 2 - fs_op truncate /mnt/a/foo102/ 2 -E ENOTDIR -E ENOTDIR TEST103: Truncate to 3 - fs_op truncate /mnt/a/foo103/ 3 -E ENOTDIR -E ENOTDIR TEST104: Truncate to 4 - fs_op truncate /mnt/a/foo104/ 4 -E ENOTDIR -E ENOTDIR TEST105: Truncate to 5 - fs_op truncate /mnt/a/foo105/ 5 -E ENOTDIR -E ENOTDIR TEST106: Truncate to 6 - fs_op truncate /mnt/a/foo106/ 6 -E ENOTDIR -E ENOTDIR TEST107: Truncate to 7 - fs_op truncate /mnt/a/foo107/ 7 -E ENOTDIR -E ENOTDIR TEST108: Truncate to 8 - fs_op truncate /mnt/a/foo108/ 8 -E ENOTDIR -E ENOTDIR TEST109: Truncate to 9 - fs_op truncate /mnt/a/foo109/ 9 -E ENOTDIR -E ENOTDIR TEST110: Truncate to 10 - fs_op truncate /mnt/a/foo110/ 10 -E ENOTDIR -E ENOTDIR TEST111: Truncate to 11 - fs_op truncate /mnt/a/foo111/ 11 -E ENOTDIR -E ENOTDIR TEST112: Truncate to 12 - fs_op truncate /mnt/a/foo112/ 12 -E ENOTDIR -E ENOTDIR TEST113: Truncate to 13 - fs_op truncate /mnt/a/foo113/ 13 -E ENOTDIR -E ENOTDIR TEST114: Truncate to 14 - fs_op truncate /mnt/a/foo114/ 14 -E ENOTDIR -E ENOTDIR TEST115: Truncate to 15 - fs_op truncate /mnt/a/foo115/ 15 -E ENOTDIR -E ENOTDIR TEST116: Truncate to 16 - fs_op truncate /mnt/a/foo116/ 16 -E ENOTDIR -E ENOTDIR TEST117: Truncate to 17 - fs_op truncate /mnt/a/foo117/ 17 -E ENOTDIR -E ENOTDIR TEST118: Truncate to 18 - fs_op truncate /mnt/a/foo118/ 18 -E ENOTDIR -E ENOTDIR TEST119: Truncate to 19 - fs_op truncate /mnt/a/foo119/ 19 -E ENOTDIR -E ENOTDIR TEST120: Truncate to 20 - fs_op truncate /mnt/a/foo120/ 20 -E ENOTDIR -E ENOTDIR TEST121: Truncate to 21 - fs_op truncate /mnt/a/foo121/ 21 -E ENOTDIR -E ENOTDIR TEST122: Truncate to 22 - fs_op truncate /mnt/a/foo122/ 22 -E ENOTDIR -E ENOTDIR TEST123: Truncate to 23 - fs_op truncate /mnt/a/foo123/ 23 -E ENOTDIR -E ENOTDIR TEST124: Truncate to 24 - fs_op truncate /mnt/a/foo124/ 24 -E ENOTDIR -E ENOTDIR TEST125: Truncate to 25 - fs_op truncate /mnt/a/foo125/ 25 -E ENOTDIR -E ENOTDIR TEST126: Truncate to 26 - fs_op truncate /mnt/a/foo126/ 26 -E ENOTDIR -E ENOTDIR TEST127: Truncate to 27 - fs_op truncate /mnt/a/foo127/ 27 -E ENOTDIR -E ENOTDIR TEST128: Truncate to 28 - fs_op truncate /mnt/a/foo128/ 28 -E ENOTDIR -E ENOTDIR *** *** TEST_OVERLAYFS=1 TERMSLASH=1 ./run.sh dir-open.test *** TEST100: Open O_RDONLY - open_file -r /mnt/a/dir100/ - open_file -r /mnt/a/dir100/ TEST101: Open O_WRONLY - open_file -w /mnt/a/dir101/ -E EISDIR - open_file -r /mnt/a/dir101/ - open_file -w /mnt/a/dir101/ -E EISDIR - open_file -r /mnt/a/dir101/ TEST102: Open O_WRONLY * 2 - open_file -w /mnt/a/dir102/ -E EISDIR - open_file -w /mnt/a/dir102/ -E EISDIR - open_file -r /mnt/a/dir102/ TEST103: Open O_APPEND|O_WRONLY - open_file -a /mnt/a/dir103/ -E EISDIR - open_file -r /mnt/a/dir103/ - open_file -a /mnt/a/dir103/ -E EISDIR - open_file -r /mnt/a/dir103/ TEST104: Open O_RDWR - open_file -r -w /mnt/a/dir104/ -E EISDIR - open_file -r /mnt/a/dir104/ - open_file -r -w /mnt/a/dir104/ -E EISDIR - open_file -r /mnt/a/dir104/ TEST105: Open O_APPEND|O_RDWR - open_file -r -a /mnt/a/dir105/ -E EISDIR - open_file -r /mnt/a/dir105/ - open_file -r -a /mnt/a/dir105/ -E EISDIR - open_file -r /mnt/a/dir105/ *** *** TEST_OVERLAYFS=1 TERMSLASH=1 ./run.sh dir-weird-open.test *** TEST100: Open O_RDONLY | O_CREAT - open_file -r -c /mnt/a/dir100/ -E EISDIR - open_file -r /mnt/a/dir100/ TEST101: Open O_RDONLY | O_CREAT | O_EXCL - open_file -r -c -e /mnt/a/dir101/ -E EEXIST -E EISDIR - open_file -r /mnt/a/dir101/ TEST102: Open O_RDONLY | O_TRUNC - open_file -r -t /mnt/a/dir102/ -E EISDIR - open_file -r /mnt/a/dir102/ TEST103: Open O_RDONLY | O_TRUNC | O_CREAT - open_file -r -t -c /mnt/a/dir103/ -E EISDIR - open_file -r /mnt/a/dir103/ TEST104: Open O_RDONLY | O_TRUNC | O_CREAT | O_EXCL - open_file -r -t -c -e /mnt/a/dir104/ -E EEXIST -E EISDIR - open_file -r /mnt/a/dir104/ TEST105: Open O_RDONLY | O_CREAT - open_file -w -c /mnt/a/dir105/ -E EISDIR - open_file -r /mnt/a/dir105/ TEST106: Open O_RDONLY | O_CREAT | O_EXCL - open_file -w -c -e /mnt/a/dir106/ -E EEXIST -E EISDIR - open_file -r /mnt/a/dir106/ TEST107: Open O_RDONLY | O_TRUNC - open_file -w -t /mnt/a/dir107/ -E EISDIR - open_file -r /mnt/a/dir107/ TEST108: Open O_RDONLY | O_TRUNC | O_CREAT - open_file -w -t -c /mnt/a/dir108/ -E EISDIR - open_file -r /mnt/a/dir108/ TEST109: Open O_RDONLY | O_TRUNC | O_CREAT | O_EXCL - open_file -w -t -c -e /mnt/a/dir109/ -E EEXIST -E EISDIR - open_file -r /mnt/a/dir109/ *** *** TEST_OVERLAYFS=1 TERMSLASH=1 ./run.sh dir-open-dir.test *** TEST100: Open O_DIRECTORY | O_RDONLY - open_file -d -r /mnt/a/dir100/ - open_file -d -r /mnt/a/dir100/ TEST101: Open O_DIRECTORY | O_WRONLY - open_file -d -w /mnt/a/dir101/ -E EISDIR - open_file -d -r /mnt/a/dir101/ - open_file -d -w /mnt/a/dir101/ -E EISDIR - open_file -d -r /mnt/a/dir101/ TEST102: Open O_DIRECTORY | O_WRONLY * 2 - open_file -d -w /mnt/a/dir102/ -E EISDIR - open_file -d -w /mnt/a/dir102/ -E EISDIR - open_file -d -r /mnt/a/dir102/ TEST103: Open O_DIRECTORY | O_APPEND|O_WRONLY - open_file -d -a /mnt/a/dir103/ -E EISDIR - open_file -d -r /mnt/a/dir103/ - open_file -d -a /mnt/a/dir103/ -E EISDIR - open_file -d -r /mnt/a/dir103/ TEST104: Open O_DIRECTORY | O_RDWR - open_file -d -r -w /mnt/a/dir104/ -E EISDIR - open_file -d -r /mnt/a/dir104/ - open_file -d -r -w /mnt/a/dir104/ -E EISDIR - open_file -d -r /mnt/a/dir104/ TEST105: Open O_DIRECTORY | O_APPEND|O_RDWR - open_file -d -r -a /mnt/a/dir105/ -E EISDIR - open_file -d -r /mnt/a/dir105/ - open_file -d -r -a /mnt/a/dir105/ -E EISDIR - open_file -d -r /mnt/a/dir105/ *** *** TEST_OVERLAYFS=1 TERMSLASH=1 ./run.sh dir-weird-open-dir.test *** TEST100: Open O_DIRECTORY | O_RDONLY | O_CREAT - open_file -d -r -c /mnt/a/dir100/ -E EISDIR - open_file -d -r /mnt/a/dir100/ TEST101: Open O_DIRECTORY | O_RDONLY | O_CREAT | O_EXCL - open_file -d -r -c -e /mnt/a/dir101/ -E EEXIST -E EISDIR - open_file -d -r /mnt/a/dir101/ TEST102: Open O_DIRECTORY | O_RDONLY | O_TRUNC - open_file -d -r -t /mnt/a/dir102/ -E EISDIR - open_file -d -r /mnt/a/dir102/ TEST103: Open O_DIRECTORY | O_RDONLY | O_TRUNC | O_CREAT - open_file -d -r -t -c /mnt/a/dir103/ -E EISDIR - open_file -d -r /mnt/a/dir103/ TEST104: Open O_DIRECTORY | O_RDONLY | O_TRUNC | O_CREAT | O_EXCL - open_file -d -r -t -c -e /mnt/a/dir104/ -E EEXIST -E EISDIR - open_file -d -r /mnt/a/dir104/ TEST105: Open O_DIRECTORY | O_RDONLY | O_CREAT - open_file -d -w -c /mnt/a/dir105/ -E EISDIR - open_file -d -r /mnt/a/dir105/ TEST106: Open O_DIRECTORY | O_RDONLY | O_CREAT | O_EXCL - open_file -d -w -c -e /mnt/a/dir106/ -E EEXIST -E EISDIR - open_file -d -r /mnt/a/dir106/ TEST107: Open O_DIRECTORY | O_RDONLY | O_TRUNC - open_file -d -w -t /mnt/a/dir107/ -E EISDIR - open_file -d -r /mnt/a/dir107/ TEST108: Open O_DIRECTORY | O_RDONLY | O_TRUNC | O_CREAT - open_file -d -w -t -c /mnt/a/dir108/ -E EISDIR - open_file -d -r /mnt/a/dir108/ TEST109: Open O_DIRECTORY | O_RDONLY | O_TRUNC | O_CREAT | O_EXCL - open_file -d -w -t -c -e /mnt/a/dir109/ -E EEXIST -E EISDIR - open_file -d -r /mnt/a/dir109/ *** *** TEST_OVERLAYFS=1 TERMSLASH=1 ./run.sh dir-sym1-open.test *** TEST100: Open(dir symlink) O_RDONLY - open_file -r /mnt/a/direct_dir_sym100/ - open_file -r /mnt/a/direct_dir_sym100/ TEST101: Open(dir symlink) O_WRONLY - open_file -w /mnt/a/direct_dir_sym101/ -E EISDIR - open_file -r /mnt/a/direct_dir_sym101/ - open_file -w /mnt/a/direct_dir_sym101/ -E EISDIR - open_file -r /mnt/a/direct_dir_sym101/ TEST102: Open(dir symlink) O_APPEND|O_WRONLY - open_file -a /mnt/a/direct_dir_sym102/ -E EISDIR - open_file -r /mnt/a/direct_dir_sym102/ - open_file -a /mnt/a/direct_dir_sym102/ -E EISDIR - open_file -r /mnt/a/direct_dir_sym102/ TEST103: Open(dir symlink) O_RDWR - open_file -r -w /mnt/a/direct_dir_sym103/ -E EISDIR - open_file -r /mnt/a/direct_dir_sym103/ - open_file -r -w /mnt/a/direct_dir_sym103/ -E EISDIR - open_file -r /mnt/a/direct_dir_sym103/ TEST104: Open(dir symlink) O_APPEND|O_RDWR - open_file -r -a /mnt/a/direct_dir_sym104/ -E EISDIR - open_file -r /mnt/a/direct_dir_sym104/ - open_file -r -a /mnt/a/direct_dir_sym104/ -E EISDIR - open_file -r /mnt/a/direct_dir_sym104/ *** *** TEST_OVERLAYFS=1 TERMSLASH=1 ./run.sh dir-sym1-weird-open.test *** TEST100: Open(dir symlink) O_RDONLY | O_CREAT - open_file -r -c /mnt/a/direct_dir_sym100/ -E EISDIR - open_file -r /mnt/a/direct_dir_sym100/ TEST101: Open(dir symlink) O_RDONLY | O_CREAT | O_EXCL - open_file -r -c -e /mnt/a/direct_dir_sym101/ -E EEXIST -E EISDIR - open_file -r /mnt/a/direct_dir_sym101/ TEST102: Open(dir symlink) O_RDONLY | O_TRUNC - open_file -r -t /mnt/a/direct_dir_sym102/ -E EISDIR - open_file -r /mnt/a/direct_dir_sym102/ TEST103: Open(dir symlink) O_RDONLY | O_TRUNC | O_CREAT - open_file -r -t -c /mnt/a/direct_dir_sym103/ -E EISDIR - open_file -r /mnt/a/direct_dir_sym103/ TEST104: Open(dir symlink) O_RDONLY | O_TRUNC | O_CREAT | O_EXCL - open_file -r -t -c -e /mnt/a/direct_dir_sym104/ -E EEXIST -E EISDIR - open_file -r /mnt/a/direct_dir_sym104/ TEST105: Open(dir symlink) O_WRONLY | O_CREAT - open_file -w -c /mnt/a/direct_dir_sym105/ -E EISDIR - open_file -r /mnt/a/direct_dir_sym105/ TEST106: Open(dir symlink) O_WRONLY | O_CREAT | O_EXCL - open_file -w -c -e /mnt/a/direct_dir_sym106/ -E EEXIST -E EISDIR - open_file -r /mnt/a/direct_dir_sym106/ TEST107: Open(dir symlink) O_WRONLY | O_TRUNC - open_file -w -t /mnt/a/direct_dir_sym107/ -E EISDIR - open_file -r /mnt/a/direct_dir_sym107/ TEST108: Open(dir symlink) O_WRONLY | O_TRUNC | O_CREAT - open_file -w -t -c /mnt/a/direct_dir_sym108/ -E EISDIR - open_file -r /mnt/a/direct_dir_sym108/ TEST109: Open(dir symlink) O_WRONLY | O_TRUNC | O_CREAT | O_EXCL - open_file -w -t -c -e /mnt/a/direct_dir_sym109/ -E EEXIST -E EISDIR - open_file -r /mnt/a/direct_dir_sym109/ *** *** TEST_OVERLAYFS=1 TERMSLASH=1 ./run.sh dir-sym2-open.test *** TEST100: Open(dir symlink) O_RDONLY - open_file -r /mnt/a/indirect_dir_sym100/ - open_file -r /mnt/a/indirect_dir_sym100/ TEST101: Open(dir symlink) O_WRONLY - open_file -w /mnt/a/indirect_dir_sym101/ -E EISDIR - open_file -r /mnt/a/indirect_dir_sym101/ - open_file -w /mnt/a/indirect_dir_sym101/ -E EISDIR - open_file -r /mnt/a/indirect_dir_sym101/ TEST102: Open(dir symlink) O_APPEND|O_WRONLY - open_file -a /mnt/a/indirect_dir_sym102/ -E EISDIR - open_file -r /mnt/a/indirect_dir_sym102/ - open_file -a /mnt/a/indirect_dir_sym102/ -E EISDIR - open_file -r /mnt/a/indirect_dir_sym102/ TEST103: Open(dir symlink) O_RDWR - open_file -r -w /mnt/a/indirect_dir_sym103/ -E EISDIR - open_file -r /mnt/a/indirect_dir_sym103/ - open_file -r -w /mnt/a/indirect_dir_sym103/ -E EISDIR - open_file -r /mnt/a/indirect_dir_sym103/ TEST104: Open(dir symlink) O_APPEND|O_RDWR - open_file -r -a /mnt/a/indirect_dir_sym104/ -E EISDIR - open_file -r /mnt/a/indirect_dir_sym104/ - open_file -r -a /mnt/a/indirect_dir_sym104/ -E EISDIR - open_file -r /mnt/a/indirect_dir_sym104/ *** *** TEST_OVERLAYFS=1 TERMSLASH=1 ./run.sh dir-sym2-weird-open.test *** TEST100: Open(dir symlink) O_RDONLY | O_CREAT - open_file -r -c /mnt/a/indirect_dir_sym100/ -E EISDIR - open_file -r /mnt/a/indirect_dir_sym100/ TEST101: Open(dir symlink) O_RDONLY | O_CREAT | O_EXCL - open_file -r -c -e /mnt/a/indirect_dir_sym101/ -E EEXIST -E EISDIR - open_file -r /mnt/a/indirect_dir_sym101/ TEST102: Open(dir symlink) O_RDONLY | O_TRUNC - open_file -r -t /mnt/a/indirect_dir_sym102/ -E EISDIR - open_file -r /mnt/a/indirect_dir_sym102/ TEST103: Open(dir symlink) O_RDONLY | O_TRUNC | O_CREAT - open_file -r -t -c /mnt/a/indirect_dir_sym103/ -E EISDIR - open_file -r /mnt/a/indirect_dir_sym103/ TEST104: Open(dir symlink) O_RDONLY | O_TRUNC | O_CREAT | O_EXCL - open_file -r -t -c -e /mnt/a/indirect_dir_sym104/ -E EEXIST -E EISDIR - open_file -r /mnt/a/indirect_dir_sym104/ TEST105: Open(dir symlink) O_WRONLY | O_CREAT - open_file -w -c /mnt/a/indirect_dir_sym105/ -E EISDIR - open_file -r /mnt/a/indirect_dir_sym105/ TEST106: Open(dir symlink) O_WRONLY | O_CREAT | O_EXCL - open_file -w -c -e /mnt/a/indirect_dir_sym106/ -E EEXIST -E EISDIR - open_file -r /mnt/a/indirect_dir_sym106/ TEST107: Open(dir symlink) O_WRONLY | O_TRUNC - open_file -w -t /mnt/a/indirect_dir_sym107/ -E EISDIR - open_file -r /mnt/a/indirect_dir_sym107/ TEST108: Open(dir symlink) O_WRONLY | O_TRUNC | O_CREAT - open_file -w -t -c /mnt/a/indirect_dir_sym108/ -E EISDIR - open_file -r /mnt/a/indirect_dir_sym108/ TEST109: Open(dir symlink) O_WRONLY | O_TRUNC | O_CREAT | O_EXCL - open_file -w -t -c -e /mnt/a/indirect_dir_sym109/ -E EEXIST -E EISDIR - open_file -r /mnt/a/indirect_dir_sym109/ *** *** TEST_OVERLAYFS=1 TERMSLASH=1 ./run.sh readlink.test *** Readlink file - fs_op readlink /mnt/a/foo100/ -E EINVAL -E ENOTDIR Readlink direct symlink to file - fs_op readlink /mnt/a/direct_sym100/ -R ../a/foo100 -E ENOTDIR Readlink indirect symlink to file - fs_op readlink /mnt/a/indirect_sym100/ -R direct_sym100 -E ENOTDIR Readlink dir - fs_op readlink /mnt/a/dir100/ -E EINVAL Readlink direct symlink to dir - fs_op readlink /mnt/a/direct_dir_sym100/ -R ../a/dir100 -E EINVAL Readlink indirect symlink to dir - fs_op readlink /mnt/a/indirect_dir_sym100/ -R /mnt/a/direct_dir_sym100 -E EINVAL Readlink absent file - fs_op readlink /mnt/a/no_foo100/ -E ENOENT Readlink broken symlink to absent file - fs_op readlink /mnt/a/pointless100/ -R no_foo100 -E ENOENT Readlink broken symlink - fs_op readlink /mnt/a/pointless101/ -R no_foo101 -E ENOENT Readlink absent file pointed to by broken symlink - fs_op readlink /mnt/a/no_foo101/ -E ENOENT *** *** TEST_OVERLAYFS=1 TERMSLASH=1 ./run.sh impermissible.test *** TEST100: Impermissible open O_TRUNC|O_WRONLY - open_file_as_bin -t -w /mnt/a/rootfile100/ -E EACCES -E ENOTDIR - open_file_as_bin -w /mnt/a/rootfile100/ -E EACCES -E ENOTDIR - open_file_as_bin -r /mnt/a/rootfile100/ -R :xxx:yyy:zzz -E ENOTDIR - open_file -r /mnt/a/rootfile100/ -R :xxx:yyy:zzz -E ENOTDIR - open_file -w /mnt/a/rootfile100/ -W shark -E ENOTDIR - open_file -r /mnt/a/rootfile100/ -R sharkyyy:zzz -E ENOTDIR - open_file_as_bin -r /mnt/a/rootfile100/ -R sharkyyy:zzz -E ENOTDIR TEST101: Impermissible open O_WRONLY - open_file_as_bin -w /mnt/a/rootfile101/ -E EACCES -E ENOTDIR - open_file_as_bin -w /mnt/a/rootfile101/ -E EACCES -E ENOTDIR - open_file_as_bin -r /mnt/a/rootfile101/ -R :xxx:yyy:zzz -E ENOTDIR - open_file -r /mnt/a/rootfile101/ -R :xxx:yyy:zzz -E ENOTDIR - open_file -w /mnt/a/rootfile101/ -W shark -E ENOTDIR - open_file -r /mnt/a/rootfile101/ -R sharkyyy:zzz -E ENOTDIR - open_file_as_bin -r /mnt/a/rootfile101/ -R sharkyyy:zzz -E ENOTDIR TEST102: Impermissible open O_APPEND - open_file_as_bin -a /mnt/a/rootfile102/ -E EACCES -E ENOTDIR - open_file_as_bin -a /mnt/a/rootfile102/ -E EACCES -E ENOTDIR - open_file_as_bin -r /mnt/a/rootfile102/ -R :xxx:yyy:zzz -E ENOTDIR - open_file -r /mnt/a/rootfile102/ -R :xxx:yyy:zzz -E ENOTDIR - open_file -a /mnt/a/rootfile102/ -W shark -E ENOTDIR - open_file -r /mnt/a/rootfile102/ -R :xxx:yyy:zzzshark -E ENOTDIR - open_file_as_bin -r /mnt/a/rootfile102/ -R :xxx:yyy:zzzshark -E ENOTDIR TEST103: Impermissible truncate - fs_op_as_bin truncate /mnt/a/rootfile103/ 4 -E EACCES -E ENOTDIR - fs_op_as_bin truncate /mnt/a/rootfile103/ 4 -E EACCES -E ENOTDIR - open_file_as_bin -r /mnt/a/rootfile103/ -R :xxx:yyy:zzz -E ENOTDIR - open_file -r /mnt/a/rootfile103/ -R :xxx:yyy:zzz -E ENOTDIR - fs_op truncate /mnt/a/rootfile103/ 4 -E ENOTDIR - open_file -r /mnt/a/rootfile103/ -R :xxx -E ENOTDIR - open_file_as_bin -r /mnt/a/rootfile103/ -R :xxx -E ENOTDIR TEST104: Impermissible utimes - fs_op_as_bin utimes /mnt/a/rootfile104/ -E EACCES -E ENOTDIR - fs_op_as_bin utimes /mnt/a/rootfile104/ -E EACCES -E ENOTDIR - fs_op utimes /mnt/a/rootfile104/ -E ENOTDIR - open_file -r /mnt/a/rootfile104/ -R :xxx:yyy:zzz -E ENOTDIR