代码搜索结果
找到约 10,000 项符合
Test 的代码
test47
#!/bin/sh
. ./init_test
echo "*** Test skipping medium (long)"
runA -f $H/A
runB -a $H/B
echo "1" > $H/A/a
runA
runB
# Create a big file that can't be cached or bufferized by "gzip" or "cat"
echo
test34
#!/bin/sh
. ./init_test
echo "*** Test a strange real case: directory of filtered files and symlink"
runA -f $H/A
runB -a $H/B
echo '
OUTPUT_FILTER="-regex=(\.(so|aux|log|dvi)|[~])$
-regex=^\.nnf
test26
#!/bin/sh
. ./init_test
echo "*** Symetric File Filtering on 3 hosts, conflicts of -f"
F='OUTPUT_FILTER="-size=+3c"
'
echo "$F" >>$H/A/.nnfs/nnfsrc
echo "$F" >>$H/B/.nnfs/nnfsrc
echo "$F" >>$H/C/.
test5
#!/bin/sh
. ./init_test
echo "*** Test very normal case with several hosts with remove"
runA -f $H/A
runB -a $H/B
runC -a $H/C
runD -a $H/D
echo "o" > $H/A/a ; stamp 01 $H/A/a
echo "p" > $H/A/b ;
test42
#!/bin/sh
. ./init_test
echo "*** A conflict between files and directory with transfer error"
runA -f $H/A
runB -a $H/B
# Create a score of dir and file
for I in 0 1 2 3 4 5
do
mkdir $H/A/dir$I
t
test-1
#!/bin/sh
. ./init_test
echo "*** Test of test functions"
if runA gfdgfdg
then
Exit 11
else
:
fi
echo "www" >$H/A/a
stamp 01 $H/A/a
echo "www" >$H/B/a
stamp 01 $H/B/a
same $H/A a $H/B a || E
test36
#!/bin/sh
. ./init_test
echo "*** mode 000 directories (may fail for root or non Linux system)"
runA -f $H/A
runB -a $H/B
lock_dir() {
chmod 100 $H/$1/dir100
chmod 400 $H/$1/dir400
chmod 000 $H/$1
test25
#!/bin/sh
. ./init_test
echo "*** Symetric File Filtering on 3 hosts"
F='OUTPUT_FILTER="-size=+4c"
'
echo "$F" >>$H/A/.nnfs/nnfsrc
echo "$F" >>$H/B/.nnfs/nnfsrc
echo "$F" >>$H/C/.nnfs/nnfsrc
runA
test13
#!/bin/sh
. ./init_test
echo "*** Long file names (to test the report function)"
runA -f $H/A
runB -a $H/B
for I in A/B/C/D/E/F/G/H/I/J/K/L/M/N/O \
AA/BB/CC/DD/EE/FF/GG/HH/II/JJ \
AAA/BBB/CCC
test10
#!/bin/sh
. ./init_test
echo "*** Transformation between file and directory"
runA -f $H/A
runB -a $H/B
mkdir $H/A/dir
stamp 01 $H/A/dir
echo "a-content" > $H/A/dir/a
stamp 02 $H/A/dir/a
runA
runB