File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -43,5 +43,5 @@ function py_module_file() {
4343}
4444
4545
46- trap ' echo "$program($LINENO): Command failed with error code $? ($0 $*)"; exit 1' ERR
46+ # trap 'echo "$program($LINENO): Command failed with error code $? ($0 $*)"; exit 1' ERR
4747
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ cd $build
4949settings_local=$( py_module_file " settings_local" )
5050[ " $settings_local " ] || err
5151
52- cat $settings_local test/settings_local_test.py - > ietf/settings_local.py
52+ cat $settings_local test/settings_local_test.py > ietf/settings_local.py
5353
5454
5555exit $warnings
Original file line number Diff line number Diff line change @@ -14,9 +14,9 @@ build=$PWD
1414
1515# Database Cleanup
1616# Make sure the test database has been removed
17- python ietf/manage.py dbshell << - EOT
18- drop database test_ietf;
19- exit;
20- EOT
17+ if echo " show databases; " | python ietf/manage.py dbshell | grep test_ietf ; then
18+ echo " drop database test_ietf;" | python ietf/manage.py dbshell
19+ echo " test database removed. "
20+ fi
2121
2222exit $warnings
You can’t perform that action at this time.
0 commit comments