#!/bin/sh # # Copyright (C) 2000-2015 Kern Sibbald # License: BSD 2-Clause; see file LICENSE-FOSS # # # Run a simple backup of the Bacula build directory using the compressed option # then backup a second time and finally restore it # TestName="two-jobs-test" JobName=Two-Jobs . scripts/functions cwd=`pwd` scripts/cleanup scripts/copy-test-confs echo "${cwd}/build" >${cwd}/tmp/file-list #echo "${cwd}/build/src/Makefile" >${cwd}/tmp/file-list #echo "${cwd}/build/src/Makefile.in" >>${cwd}/tmp/file-list #echo "${cwd}/build/src/testprogs.tar.gz" >>${cwd}/tmp/file-list #echo "${cwd}/build/src/dummy" >>${cwd}/tmp/file-list #echo "${cwd}/build/src/stored" >>${cwd}/tmp/file-list #echo "${cwd}/build/src/dird" >>${cwd}/tmp/file-list #echo "${cwd}/build/src/filed" >>${cwd}/tmp/file-list #echo "${cwd}/build/src/console" >>${cwd}/tmp/file-list #echo "${cwd}/build/src/qt-console" >>${cwd}/tmp/file-list #echo "${cwd}/build/src/cats" >>${cwd}/tmp/file-list change_jobname CompressedTest $JobName start_test cat >tmp/bconcmds <tmp/bconcmds <