9 echo 'Usage: t/configure-sampledata [--setup | --clean]'
12 if test "$#" -ne 1; then
19 cd t/sampledata || exit $?
22 ln -sf "$(pwd)/abs-symlink-target" abs-symlink || exit $?
27 cd t/sampledata || exit $?
28 # test -e is false for dangling symlinks.
29 if test -h b -o -e b; then rm b || exit $?; fi
30 if test -h c -o -e c; then rm c || exit $?; fi
31 if test -h etc -o -e etc; then rm etc || exit $?; fi