QA:TestCase boxgrinder deliver local

From FedoraProject

Jump to: navigation, search

Contents

Description

Deliver an appliance to a locally mounted drive.

Setup

  1. Prepare your environment
  2. Put the following BoxGrinder config into a file named: /root/.boxgrinder/config.
plugins:
  local:
    path: /tmp/boxgrinder-appliances
    package: true
    overwrite: false
Warning.png
BoxGrinder Build config file location
The default location for this file is /root/.boxgrinder/config. You can put this file in different location by specifying BG_CONFIG_FILE environment variable.

How to test

  1. Execute:
    boxgrinder-build testing-appliances/jeos-appls/fedora-14-jeos.appl -d local --trace

Expected Results

The following must be true to consider this a successful test run.

  1. Step #1 completes without error (indicated on console)
  2. Program completes with exit code 0
  3. Determine whether a tar.gz file has appeared in the expected local directory