📄 test17
字号:
#!/bin/sh. ./init_testecho "*** Initialisations with 3 hosts"for I in A B Cdotouch $H/$I/On_$Itouch $H/$I/On_$I.bismkdir $H/$I/$I.dir_oldmkdir $H/$I/$I.dir_newmkdir $H/$I/$I.dir_emptytouch $H/$I/$I.filetouch $H/$I/$I.dir_old/file_oldtouch $H/$I/$I.dir_new/file_newstamp 02 $H/$I/$I.dir_oldstamp 01 $H/$I/$I.dir_old/file_oldfor J in A B Cdoif [ $J = $I ] ; then continue ; fitouch $H/$J/On_$I ; stamp 04 $H/$J/On_$Imkdir $H/$J/On_$I.bis ; stamp 05 $H/$J/On_$I.bistouch $H/$J/$I.dir_oldtouch $H/$J/$I.dir_new ; stamp 06 $H/$J/$I.dir_newmkdir $H/$J/$I.dir_emptytouch $H/$J/$I.dir_empty/$Jstamp 07 $H/$J/$I.dir_emptydonedonerunA -f $H/ArunB -a $H/Bif [ "" != "$TEST18" ] then runA fiif [ "" != "$TEST19" ] then runA runB firunC -a $H/CrunArunBrunC( cd $H/A ; ls -lsR ) >xxx( cd $H/B ; ls -lsR ) >yyy( cd $H/C ; ls -lsR ) >zzzdiff xxx yyy || Exit 100diff xxx zzz || Exit 101Exit 0
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -