]> git.sur5r.net Git - bacula/bacula/blob - regress/scripts/cleanup
Add a trailing ENTER
[bacula/bacula] / regress / scripts / cleanup
1 #!/bin/sh
2 #
3 # Cleanup left over files -- both before and after test run
4 #
5 rm -rf /tmp/FileVolume* tmp/FileVolume*  
6 rm -rf /tmp/TestVolume001 /tmp/bacula-restores /tmp/Small*
7 rm -rf /tmp/sed_tmp /tmp/file-list
8 rm -rf tmp/*
9 rm -rf working/log tmp/TEST-*
10 rm -rf working/*.bsr
11 rm -rf /tmp/disk-changer
12 find . -name "gigaslam.gif" -exec rm -f {} \;
13
14
15 # bin directory does not always exist
16 if [ -d bin ]
17 then
18   bin/bacula stop 2>&1 >/dev/null
19   cd bin
20   ./drop_bacula_tables      >/dev/null 2>&1
21   ./make_bacula_tables      >/dev/null 2>&1
22   ./grant_bacula_privileges >/dev/null 2>&1
23   cd ..
24 fi