On Mon, Dec 21, 2009 at 11:13:03AM -0500, Joey Boggs wrote:
> On 12/15/2009 10:34 AM, Darryl L. Pierce wrote:
> >Before any tests are run, the ISO is checked and if it doesn't exist
> >then the script exits with an explicit failure.
> >
> >Signed-off-by: Darryl L. Pierce<[email protected]>
> >---
> >  autotest.sh |    4 ++++
> >  1 files changed, 4 insertions(+), 0 deletions(-)
> >
> >diff --git a/autotest.sh b/autotest.sh
> >index c67931a..904b961 100755
> >--- a/autotest.sh
> >+++ b/autotest.sh
> >@@ -723,6 +723,10 @@ done
> >  isoname=$(basename $isofile)
> >  isofile="$(cd `dirname $isofile`; pwd)/${isoname}"
> >
> >+if ! [ -s "${isofile}" ]; then
> >+    die "Missing or invalid file: ${isofile}"
> >+fi
> >+
> >  shift $(($OPTIND - 1))
> >
> >  set +u
> ACK

Thank you. This is now pushed upstream.

-- 
Darryl L. Pierce, Sr. Software Engineer @ Red Hat, Inc.
Delivering value year after year.
Red Hat ranks #1 in value among software vendors.
http://www.redhat.com/promo/vendor/

Attachment: pgpyq18BSHa13.pgp
Description: PGP signature

_______________________________________________
Ovirt-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/ovirt-devel

Reply via email to