test29

来自「Non-Networked File System在几个非网络的(或慢网络的)U」· 代码 · 共 46 行

TXT
46
字号
#!/bin/sh. ./init_testecho "*** Test delete on hierarchy and filefilter"# The problem: A directory is not filtred and its content is.# What happen when all is deleted.# Files deletion do not go to the other host, directory deletion yes....runA -f $H/ArunB -a $H/Bmkdir $H/B/a   $H/B/c   $H/B/a/aa     $H/B/c/cctouch $H/B/a/b $H/B/c/d $H/B/a/aa/aaa $H/B/c/cc/cccrunBrunAecho "OUTPUT_FILTER=\"-regex=(\.(o|so|aux|log|dvi)|[~])$-regex=.nnfs/history/.*-regex=a$-regex=c/\"" >> $H/A/.nnfs/nnfsrcrm -r $H/A/arm -r $H/A/crunArunB[ ! -d $H/B/a ]   && Exit 100[   -f $H/B/a/b ] && Exit 102[   -d $H/B/c ]   && Exit 101[   -f $H/B/c/d ] && Exit 103Exit 0

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?