test34

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

TXT
57
字号
#!/bin/sh. ./init_testecho "*** Test a strange real case: directory of filtered files and symlink"runA -f $H/ArunB -a $H/Becho 'OUTPUT_FILTER="-regex=(\.(so|aux|log|dvi)|[~])$-regex=^\.nnfs/history/.*-regex=^dir/.*-type=d regex=^dor"' >>$H/A/.nnfs/nnfsrccp $H/A/.nnfs/nnfsrc $H/B/.nnfs/nnfsrcmkdir $H/A/dirtouch $H/A/dir/foo.otouch $H/A/dir/bar.omkdir $H/A/dortouch $H/A/a_filerunArunB[ ! -d $H/B/dir ] && Exit 1[ -d $H/B/dor ] && Exit 10rm -r $H/B/dirln -s / $H/B/dirtouch $H/B/dorrunBtouch $H/A/dir/foo.otouch $H/A/dir/bar.orunA[ ! -f $H/A/dor ] && Exit 11# The remote change winssamel $H/A dir $H/B dir || Exit 2Exit 0

⌨️ 快捷键说明

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