diff -r e45f50e940b6 -r 1ca7a49838e9 test/order.sh --- a/test/order.sh Thu May 14 05:55:19 2009 +0100 +++ b/test/order.sh Thu Nov 13 11:30:27 2014 +0000 @@ -1,4 +1,9 @@ #!/bin/sh +if [ $# -gt 0 ]; then + razor="$1" +else + razor=../src/razor +fi check_file() { if [ ! -e "$RAZOR_ROOT$1" ]; then @@ -7,10 +12,10 @@ fi } export RAZOR_ROOT=`mktemp -dt` || exit 1 -../src/razor init || exit 1 +$razor init || exit 1 export YUM_URL="file://localhost/`pwd`" -../src/razor import-yum || exit 1 -../src/razor install zip zsh || exit 1 +$razor import-yum || exit 1 +$razor install zip zsh || exit 1 check_file /usr/var/lib/zip/data.zap check_file /usr/var/lib/zsh/data.zip rm -rf "$RAZOR_ROOT"