[ec2-user@ip-172-31-19-78 c_test]$ ls ! sample.txt test10 test12 test14 test16 test18 test2 test21 test3 test5 test7 test9 do_test.sh test1 test11 test13 test15 test17 test19 test20 test22 test4 test6 test8 test_dir [ec2-user@ip-172-31-19-78 c_test]$ sh do_test.sh 1 Test1(open-O_APPEND): OK [ec2-user@ip-172-31-19-78 c_test]$ sh do_test.sh 2 Test2(open-O_ASYNC): OK [ec2-user@ip-172-31-19-78 c_test]$ sh do_test.sh 3 Test3(open-O_CLOEXEC): OK [ec2-user@ip-172-31-19-78 c_test]$ sh do_test.sh 4 Test4(open-O_CREAT): OK [ec2-user@ip-172-31-19-78 c_test]$ sh do_test.sh 5 Test5(open-O_DIRECT): OK [ec2-user@ip-172-31-19-78 c_test]$ sh do_test.sh 6 Test6(open-O_DIRECTORY): OK [ec2-user@ip-172-31-19-78 c_test]$ sh do_test.sh 7 Test7(open-O_DSYNC): OK [ec2-user@ip-172-31-19-78 c_test]$ sh do_test.sh 8 Test8(open-O_EXCL): OK [ec2-user@ip-172-31-19-78 c_test]$ sh do_test.sh 9 Test9(open-O_LARGEFILE): OK [ec2-user@ip-172-31-19-78 c_test]$ sh do_test.sh 10 Test10(open-O_NOATIME): OK [ec2-user@ip-172-31-19-78 c_test]$ ls /nfs_dir/ sample.txt [ec2-user@ip-172-31-19-78 c_test]$ sh do_test.sh 11 Test11(open-O_NOCTTY): OK [ec2-user@ip-172-31-19-78 c_test]$ sh do_test.sh 12 Test12(open-O_NOFOLLOW): OK [ec2-user@ip-172-31-19-78 c_test]$ sh do_test.sh 13 Test13(open-O_NONBLOCK): OK [ec2-user@ip-172-31-19-78 c_test]$ sh do_test.sh 14 Test14(open-O_PATH): OK [ec2-user@ip-172-31-19-78 c_test]$ sh do_test.sh 15 Test15(open-O_SYNC): OK [ec2-user@ip-172-31-19-78 c_test]$ sh do_test.sh 16 Test16(open-O_TMPFILE): NG [ec2-user@ip-172-31-19-78 c_test]$ sh do_test.sh 17 Test17(open-O_TRUNC): OK [ec2-user@ip-172-31-19-78 c_test]$ sh do_test.sh 18 Test18(read): OK [ec2-user@ip-172-31-19-78 c_test]$ sh do_test.sh 19 Test19(write): OK [ec2-user@ip-172-31-19-78 c_test]$ sh do_test.sh 20 Test20(lseek): OK [ec2-user@ip-172-31-19-78 c_test]$ sh do_test.sh 21 Test21(remove): OK [ec2-user@ip-172-31-19-78 c_test]$ sh do_test.sh 22 Test22(rename): NG [ec2-user@ip-172-31-19-78 c_test]$ ls /nfs_dir/ sample.txt [ec2-user@ip-172-31-19-78 c_test]$ sh do_test.sh 1 Test1(open-O_APPEND): OK [ec2-user@ip-172-31-19-78 c_test]$ sh do_test.sh 2 Test2(open-O_ASYNC): OK [ec2-user@ip-172-31-19-78 c_test]$ sh do_test.sh 3 Test3(open-O_CLOEXEC): OK [ec2-user@ip-172-31-19-78 c_test]$ sh do_test.sh 4 Test4(open-O_CREAT): OK [ec2-user@ip-172-31-19-78 c_test]$ sh do_test.sh 5 Test5(open-O_DIRECT): OK [ec2-user@ip-172-31-19-78 c_test]$ sh do_test.sh 6 Test6(open-O_DIRECTORY): OK [ec2-user@ip-172-31-19-78 c_test]$ sh do_test.sh 7 Test7(open-O_DSYNC): OK [ec2-user@ip-172-31-19-78 c_test]$ sh do_test.sh 8 Test8(open-O_EXCL): OK [ec2-user@ip-172-31-19-78 c_test]$ sh do_test.sh 9 Test9(open-O_LARGEFILE): OK [ec2-user@ip-172-31-19-78 c_test]$ sh do_test.sh 10 Test10(open-O_NOATIME): OK [ec2-user@ip-172-31-19-78 c_test]$ sh do_test.sh 11 Test11(open-O_NOCTTY): OK [ec2-user@ip-172-31-19-78 c_test]$ sh do_test.sh 12 Test12(open-O_NOFOLLOW): OK [ec2-user@ip-172-31-19-78 c_test]$ sh do_test.sh 13 Test13(open-O_NONBLOCK): OK [ec2-user@ip-172-31-19-78 c_test]$ sh do_test.sh 14 Test14(open-O_PATH): OK [ec2-user@ip-172-31-19-78 c_test]$ sh do_test.sh 15 Test15(open-O_SYNC): OK [ec2-user@ip-172-31-19-78 c_test]$ sh do_test.sh 16 Test16(open-O_TMPFILE): NG [ec2-user@ip-172-31-19-78 c_test]$ sh do_test.sh 17 Test17(open-O_TRUNC): OK [ec2-user@ip-172-31-19-78 c_test]$ sh do_test.sh 18 Test18(read): OK [ec2-user@ip-172-31-19-78 c_test]$ sh do_test.sh 19 Test19(write): OK [ec2-user@ip-172-31-19-78 c_test]$ sh do_test.sh 20 Test20(lseek): OK [ec2-user@ip-172-31-19-78 c_test]$ sh do_test.sh 21 Test21(remove): OK [ec2-user@ip-172-31-19-78 c_test]$ sh do_test.sh 22 Test22(rename): NG [ec2-user@ip-172-31-19-78 c_test]$ umount /nfs_dir/ umount: /nfs_dir: umount failed: Operation not permitted. [ec2-user@ip-172-31-19-78 c_test]$