📄 test43
字号:
#!/bin/sh. ./init_testecho "*** Test hard link copy option"runA -f $H/ArunB -a $H/Btouch $H/A/file1ln $H/A/file1 $H/A/file2runArunB[ -f $H/B/file1 ] && Exit 1[ -f $H/B/file2 ] && Exit 2echo 'COPY_HARD_LINK="yes"' >>$H/A/.nnfs/nnfsrcrunArunB[ ! -f $H/B/file1 ] && Exit 3[ ! -f $H/B/file2 ] && Exit 4date >$H/B/file1runBrunAsame $H/A file1 $H/B file1 || Exit 5## This test will not work if hard link are write protected#same $H/A file2 $H/A file1 && Exit 6Exit 0
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -