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.
ali@394
     1
#!/bin/sh
ali@394
     2
export RAZOR_ROOT=`mktemp -dt` || exit 1
ali@394
     3
../src/razor init || exit 1
ali@394
     4
export YUM_URL="file://localhost/`pwd`"
ali@394
     5
../src/razor import-yum || exit 1
ali@394
     6
../src/razor install zsh2 || exit 1
ali@394
     7
../src/razor info zsh2 > details.out || exit 1
ali@394
     8
diff -u $srcdir/details.ref details.out || exit 1
ali@394
     9
rm -rf "$RAZOR_ROOT"