From b7770a865b7f2d00c665f7ab7a62c0ea597ce586 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Wed, 2 Apr 2003 12:30:10 +0000 Subject: [PATCH] Move re-read test to last git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@409 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/kernstodo | 1 + bacula/src/stored/btape.c | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/bacula/kernstodo b/bacula/kernstodo index 7074895bbd..cf418cfd3b 100644 --- a/bacula/kernstodo +++ b/bacula/kernstodo @@ -20,6 +20,7 @@ Testing to do: (painful) - multiple simultaneous Volumes For 1.30 release: +- Look at Python for a Bacula scripting language -- www.python.org - add #define ENABLE_NLS for Gnome compile on SuSE. - Need define of int_least16_t in sha1.h for SuSE. - Figure out how to use ssh to protect Bacula communications. diff --git a/bacula/src/stored/btape.c b/bacula/src/stored/btape.c index bd1b27a04f..983100f2a1 100644 --- a/bacula/src/stored/btape.c +++ b/bacula/src/stored/btape.c @@ -724,7 +724,6 @@ static int append_test() static void testcmd() { int stat; - re_read_block_test(); stat = append_test(); if (stat == 1) { /* OK get out */ @@ -794,6 +793,10 @@ all_done: "or Bacula will not be able to write multiple Jobs to \n" "the tape.\n\n")); + if (stat == 1) { + re_read_block_test(); + } + Pmsg0(-1, _("\n=== End Append files test ===\n")); } -- 2.39.5