代码搜索结果

找到约 10,000 项符合 Test 的代码

test27

#!/bin/sh . ./init_test echo "*** NON Symetric File Filtering on 3 hosts and conflicts" echo "OUTPUT_FILTER=\$OUTPUT_FILTER' -regex=a'" >>$H/A/.nnfs/nnfsrc echo "OUTPUT_FILTER=\$OUTPUT_FILTER' -reg

test3

#!/bin/sh . ./init_test echo "*** Test very normal case with symbolic links without remove" runA -f $H/A runB -a $H/B ln -s val1 $H/A/ls mkdir $H/A/dir-foo ln -s val2 $H/A/dir-foo/ls runA runB sam

test24

#!/bin/sh . ./init_test echo "*** Symetric File Filtering" F='OUTPUT_FILTER="-regex=^f$ -regex=/*a$ +type=f size=+1k -perm=707 -perm=+001 regex=permplus -type=l +type=l size=+2c -type=d regex=/*fil

test43

#!/bin/sh . ./init_test echo "*** Test hard link copy option" runA -f $H/A runB -a $H/B touch $H/A/file1 ln $H/A/file1 $H/A/file2 runA runB [ -f $H/B/file1 ] && Exit 1 [ -f $H/B/file2 ] && Exit 2

test15

#!/bin/sh . ./init_test echo "*** Initialisation with 2 hosts, with mismatched file/empty dir" touch $H/A/On_A touch $H/B/On_B touch $H/A/A_newer_than_B ; stamp 05 $H/A/A_newer_than_B mkdir $H/B/A_

test1

#!/bin/sh . ./init_test echo 'MEDIUM_SIZE="20"' >>$H/A/.nnfs/nnfsrc echo "*** Read an NNFS file system on multiple medium (may fail,its normal)" runA -f $H/A [ "`cat $M/ejected`" != "exco.AAA exc

test40

#!/bin/sh . ./init_test echo "*** A conflict between files and directory (another one)" unset DUMP || true runA -f $H/A mkdir $H/B/foo touch $H/B/foo/x mkdir $H/B/d1 mkdir $H/B/d1/d2 mkdir $H/B/d

test30

#!/bin/sh . ./init_test echo "*** Same as test29 but transform as symbolic link in place of deleting" # The problem: A directory is not filtred and its content is. # What happen when all is deleted

test11

#!/bin/sh . ./init_test truncate() { gzip -d /dev/null | tr "[\000]" "[\200]" | awk ' /'"$1"'/ { if ( '$2' >= 0 ) print B ; if ( '$2' >= 1 ) print $0 ; exit } { if ( B!="" ) print B

test99

#!/bin/sh # -*- ksh -*- . ./init_test trap 'trap "" 0 1 2 ; echo STOP ; kill `cat xxx.pids` ; kill -1 `cat xxx.pids` ; Exit 0' 2 rm TMP/* 2>/dev/null || true # set -x prob() { X=$RANDOM