Add a test for relocations that are valid paths but would be invalid URIs if mis-interpreted
10 $razor list-files | grep -F -x "$1" > /dev/null
12 echo $1: Not in database >&2
15 if [ ! -e "$tmpdir$1" ]; then
16 echo $1: Not in filesystem >&2
20 tmpdir=`mktemp -dt` || exit 1
21 export RAZOR_ROOT="file:$tmpdir"
23 export YUM_URL="file:`pwd`/base"
24 $razor import-yum || exit 1
25 $razor install zap || exit 1
26 $razor install --relocate "/usr=/my files" --relocate "/etc=/my files/καὶ τὰ ἕτερα" zsh || exit 1
27 check_file /etc/zsh.conf
28 check_file /usr/bin/zap
29 check_file "/my files/bin/zip"
30 check_file "/my files/bin/zsh"