#!/bin/bash -export LANG=C
set -e# Read out the test directory using virt-tar.
./virt-tar -x test.img /bin test.tarif["$(tar tf test.tar)"!="././test1./test2./test3./test4./test5./test6./test7"];thenecho"$0: error: unexpected output in tarball from virt-tar"exit1firmtest.tar