--- /dev/null
+#!/bin/sh
+#
+# Create a very slow job so that I can stop jobs cancel
+# jobs and restart jobs for testing.
+#
+TestName="slow-test"
+JobName=Incremental
+. scripts/functions
+
+${rscripts}/cleanup
+${rscripts}/copy-test-confs
+echo "${cwd}/build" >${tmp}/file-list
+
+change_jobname CompressedTest $JobName
+start_test
+
+cat <<END_OF_DATA >${tmp}/bconcmds
+@$out /dev/null
+messages
+@$out ${tmp}/log1.out
+@#setdebug level=100 storage=File
+@#setdebug level=200 client
+@#setdebug level=100 director
+label storage=File volume=TestVolume001
+label storage=File volume=TestVolume002
+setbandwidth client=$CLIENT limit=100
+run job=$JobName yes
+status client
+wait
+run job=$JobName yes
+messages
+quit
+END_OF_DATA
+
+run_bacula
+
+check_for_zombie_jobs storage=File
+#stop_bacula
+
+check_two_logs
+#
+# Delete .c files because we will only restored the txt files
+#
+#rm -f ${tmpsrc}/*.c
+#check_restore_tmp_build_diff
+#end_test