xref: /openbsd-src/regress/usr.bin/rsync/test0_noslash.test (revision 3a0ab0b7dc0bc040bcb641a6f2b0af3eb7aa0dc1)
1#! /bin/sh
2
3. ${tstdir-.}/lib.sh
4. ${tstdir-.}/conf.sh
5
6rm -rf dir1 dir2 dir3
7# make the copy-from-here tree
8mkdir dir1
9cd dir1
10generate_tree_1
11# make the tree we want to compare to
12mkdir ../dir2
13cd ../dir2
14mkdir dir1
15cd dir1
16generate_tree_1
17
18cd ../..
19$rsync -a dir1 dir3
20compare_trees dir2 dir3
21