From 74cf2c1a068ac468ed7f0222b5baa0c9ec3f6abb Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Tue, 19 Jan 2010 14:05:15 +0100 Subject: [PATCH] Add a few status client commands --- regress/tests/eighty-simultaneous-jobs-tape | 5 +++++ regress/tests/four-concurrent-jobs-test | 5 +++++ regress/tests/incremental-test | 2 ++ 3 files changed, 12 insertions(+) diff --git a/regress/tests/eighty-simultaneous-jobs-tape b/regress/tests/eighty-simultaneous-jobs-tape index 780a2414a6..4d1c92edcc 100755 --- a/regress/tests/eighty-simultaneous-jobs-tape +++ b/regress/tests/eighty-simultaneous-jobs-tape @@ -53,6 +53,7 @@ run job=$JobName level=Full Storage=tape yes run job=$JobName level=Full Storage=tape yes run job=$JobName level=Full Storage=tape yes run job=$JobName level=Full Storage=tape yes +status client run job=$JobName level=Full Storage=tape yes run job=$JobName level=Full Storage=tape yes run job=$JobName level=Full Storage=tape yes @@ -66,6 +67,7 @@ run job=$JobName level=Full Storage=tape yes run job=$JobName level=Full Storage=tape yes run job=$JobName level=Full Storage=tape yes run job=$JobName level=Full Storage=tape yes +status client run job=$JobName level=Full Storage=tape yes run job=$JobName level=Full Storage=tape yes run job=$JobName level=Full Storage=tape yes @@ -85,6 +87,7 @@ run job=$JobName level=Full Storage=tape yes run job=$JobName level=Full Storage=tape yes run job=$JobName level=Full Storage=tape yes run job=$JobName level=Full Storage=tape yes +status client run job=$JobName level=Full Storage=tape yes run job=$JobName level=Full Storage=tape yes run job=$JobName level=Full Storage=tape yes @@ -105,8 +108,10 @@ run job=$JobName level=Full Storage=tape yes run job=$JobName level=Full Storage=tape yes @sleep 2 status dir +status client @sleep 5 status dir +status client status storage=tape messages wait diff --git a/regress/tests/four-concurrent-jobs-test b/regress/tests/four-concurrent-jobs-test index 8d93599352..ace393f34b 100755 --- a/regress/tests/four-concurrent-jobs-test +++ b/regress/tests/four-concurrent-jobs-test @@ -29,6 +29,7 @@ update Volume=TestVolume001 MaxVolBytes=100000000 @#12 setdebug level=51 Storage=File1 status storage=File1 +status client llist volume=TestVolume001 llist volume=TestVolume002 list nextvol @@ -58,12 +59,14 @@ status storage=File1 run job=$JobName level=Full Storage=File1 yes status storage=File1 +status client @#reload @#reload list nextvol 1 @sleep 2 status dir +status client status storage=File1 llist volume=TestVolume001 llist volume=TestVolume002 @@ -72,6 +75,7 @@ llist volume=TestVolume002 messages @#reload wait +status client status storage=File1 @#reload list nextvol @@ -87,6 +91,7 @@ select JobId,MediaId,StartFile,StartBlock,EndFile,EndBlock from JobMedia; @$out ${cwd}/tmp/log2.out +status client status storage=File1 setdebug level=100 Storage=File1 restore where=${cwd}/tmp/bacula-restores select storage=File1 diff --git a/regress/tests/incremental-test b/regress/tests/incremental-test index b7dca52000..d7fc56ef1b 100755 --- a/regress/tests/incremental-test +++ b/regress/tests/incremental-test @@ -30,6 +30,7 @@ messages label storage=File volume=TestVolume001 label storage=File volume=TestVolume002 run job=$JobName yes +status client wait messages quit @@ -156,6 +157,7 @@ setdebug level=10 storage=File restore where=${tmp}/bacula-restores storage=File file=<${tmp}/restore-list yes wait +status client status storage=File messages quit -- 2.39.5