test/details.sh
author J. Ali Harlow <ali@juiblex.co.uk>
Sat Feb 11 23:50:26 2012 +0000 (2012-02-11)
changeset 423 6112bcc5d1cf
child 456 bae5adee8c8c
permissions -rwxr-xr-x
Add an error object.
This is intended to dis-entangle the two roles that the atomic
object has evolved into so that atomic need only be used where
atomic actions are actually being undertaken.
     1 #!/bin/sh
     2 export RAZOR_ROOT=`mktemp -dt` || exit 1
     3 ../src/razor init || exit 1
     4 export YUM_URL="file://localhost/`pwd`"
     5 ../src/razor import-yum || exit 1
     6 ../src/razor install zsh2 || exit 1
     7 ../src/razor info zsh2 > details.out || exit 1
     8 diff -u $srcdir/details.ref details.out || exit 1
     9 rm -rf "$RAZOR_ROOT"