4 : ${tmptopdir=/var/tmp}
8 tmpdir=$(mktemp -d /var/tmp/vunify-test.XXXXXX)
9 trap "rm -rf $tmpdir" EXIT
28 createFiles a/$base a b c d
29 createFiles b/$base a b c
30 createFiles c/$base XX XX
32 ln a/${base}3 b/${base}3
35 pushd $tmpdir &>/dev/null
36 mkdir -p {a,b,c}{/etc/sysconfig,/usr/lib,/usr/local/lib/foobar,/var/run}
39 createSet etc/sysconfig/CFG
42 createSet usr/lib/PROG
44 createSet usr/local/lib/LOCAL
45 createSet usr/local/lib/foobar/LOCAL
48 createSet var/run/TEMP
52 $D ./src/vunify -n --manually $tmpdir/a '' $tmpdir/b '' >/dev/null
53 $D ./src/vunify -n --manually $tmpdir/a '' $tmpdir/c '' >/dev/null