]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/stored/btape.c
Print length if Hello to short or long
[bacula/bacula] / bacula / src / stored / btape.c
index ecb16f2506375385f5dad5fd561fd5214b94d015..983100f2a1e993135e5cc2946164f23f67491583 100644 (file)
@@ -82,7 +82,6 @@ static uint64_t VolBytes;
 static time_t now;
 static double kbs;
 static long file_index;
-static int verbose = 0;
 static int end_of_tape = 0;
 static uint32_t LastBlock = 0;
 static uint32_t eot_block;
@@ -725,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 */
@@ -795,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"));
    
 }