datatracker/test/test-teardown
Henrik Levkowetz 3d84ba95d9 More test setup and teardown functionality.
- Legacy-Id: 204
2007-06-01 16:40:30 +00:00

23 lines
368 B
Bash
Executable file

#!/bin/bash
#
# This script expects to be started by a Buildbot slave with PWD set to the build
# directory.
# Script Setup
# ============
program=${0##*/}
progdir=${0%/*}
build=$PWD
. $progdir/shell-utils
# Database Cleanup
# Make sure the test database has been removed
python ietf/manage.py dbshell <<-EOT
drop database test_ietf;
exit;
EOT
exit $warnings