1.1 --- a/test/order.sh Fri Oct 17 09:57:19 2014 +0100
1.2 +++ b/test/order.sh Thu Jul 07 15:17:29 2016 +0100
1.3 @@ -6,16 +6,17 @@
1.4 fi
1.5 check_file()
1.6 {
1.7 - if [ ! -e "$RAZOR_ROOT$1" ]; then
1.8 + if [ ! -e "$tmpdir$1" ]; then
1.9 echo $1: Not in filesystem >&2
1.10 exit 1
1.11 fi
1.12 }
1.13 -export RAZOR_ROOT=`mktemp -dt` || exit 1
1.14 +tmpdir=`mktemp -dt` || exit 1
1.15 +export RAZOR_ROOT="file:$tmpdir"
1.16 $razor init || exit 1
1.17 -export YUM_URL="file://localhost/`pwd`"
1.18 +export YUM_URL="file:`pwd`/base"
1.19 $razor import-yum || exit 1
1.20 $razor install zip zsh || exit 1
1.21 check_file /usr/var/lib/zip/data.zap
1.22 check_file /usr/var/lib/zsh/data.zip
1.23 -rm -rf "$RAZOR_ROOT"
1.24 +rm -rf "$tmpdir"