test43
来自「Non-Networked File System在几个非网络的(或慢网络的)U」· 代码 · 共 44 行
TXT
44 行
#!/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 + =
减小字号Ctrl + -
显示快捷键?