summaryrefslogtreecommitdiff
path: root/regress/usr.bin/rsync/test12b_inex.test
blob: 0f7f8335d915f9e0fbbf7b3e8b29014e63b32bd5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#! /bin/sh

. ${tstdir-.}/lib.sh
. ${tstdir-.}/conf.sh

rm -rf dir1 dir2 dir3
# make the copy-from-here tree
mkdir dir1
cd dir1
generate_tree_1
mkdirfile meh.txt
# make the tree we want to compare to
mkdir ../dir2
cd ../dir2
mkdirfile meh.txt

cd ..
$rsync -a --exclude='*/' dir1/ dir3
compare_trees dir2 dir3