]> git.sur5r.net Git - bacula/bacula/commitdiff
regress: fix typo
authorEric Bollengier <eric@eb.homelinux.org>
Sat, 5 Jun 2010 09:07:24 +0000 (11:07 +0200)
committerEric Bollengier <eric@eb.homelinux.org>
Mon, 2 Aug 2010 14:53:51 +0000 (16:53 +0200)
regress/scripts/functions.pm
regress/tests/duplicate-job-test
regress/tests/vtape-big-test-changer

index 76a8fb007c6040081d9fd7a5ea8cfbdbdedf9058..ad3aab8d9d41276043205e52e469c71775af6cbd 100644 (file)
@@ -40,7 +40,7 @@ our @ISA = qw(Exporter);
 our @EXPORT =  qw(update_some_files create_many_files check_multiple_copies
                   update_client $HOST $BASEPORT add_to_backup_list check_volume_size
                   create_many_dirs cleanup start_bacula stop_bacula get_resource
-                  set_maximum_concurent_jobs get_time
+                  set_maximum_concurrent_jobs get_time
                   check_min_volume_size check_max_volume_size $estat $bstat $rstat $zstat
                   $cwd $bin $scripts $conf $rscripts $tmp $working extract_resource
                   $db_name $db_user $db_password $src $tmpsrc);
@@ -350,10 +350,10 @@ sub check_encoding
 # You can change the maximum concurrent jobs for any config file
 # If specified, you can change only one Resource or one type of
 # resource at the time (optional)
-#  set_maximum_concurent_jobs('$conf/bacula-dir.conf', 100);
-#  set_maximum_concurent_jobs('$conf/bacula-dir.conf', 100, 'Director');
-#  set_maximum_concurent_jobs('$conf/bacula-dir.conf', 100, 'Device', 'Drive-0');
-sub set_maximum_concurent_jobs
+#  set_maximum_concurrent_jobs('$conf/bacula-dir.conf', 100);
+#  set_maximum_concurrent_jobs('$conf/bacula-dir.conf', 100, 'Director');
+#  set_maximum_concurrent_jobs('$conf/bacula-dir.conf', 100, 'Device', 'Drive-0');
+sub set_maximum_concurrent_jobs
 {
     my ($file, $nb, $obj, $name) = @_;
     my ($cur_obj, $cur_name);
index e5b14b5989655ad1debb174b72147a6ec3249299..0113e719ed9468313860265550efe0843736b2c9 100755 (executable)
@@ -9,9 +9,9 @@ scripts/copy-test-confs
 echo "${cwd}/build/technotes" >${cwd}/tmp/file-list
 
 # increase the maximum concurrent jobs for FD, SD and DIR
-perl -Mscripts::functions -e 'set_maximum_concurent_jobs("$conf/bacula-dir.conf",100)'
-perl -Mscripts::functions -e 'set_maximum_concurent_jobs("$conf/bacula-sd.conf",100)'
-perl -Mscripts::functions -e 'set_maximum_concurent_jobs("$conf/bacula-fd.conf",100)'
+perl -Mscripts::functions -e 'set_maximum_concurrent_jobs("$conf/bacula-dir.conf",100)'
+perl -Mscripts::functions -e 'set_maximum_concurrent_jobs("$conf/bacula-sd.conf",100)'
+perl -Mscripts::functions -e 'set_maximum_concurrent_jobs("$conf/bacula-fd.conf",100)'
 
 # extract a Job and add a runscript on it
 perl -Mscripts::functions \
index a56f321ef10903bb98d25a0361bd9607a0f3bf4d..a29b9fd155190d9a8f965e8e08f49f0ef61bcd83 100755 (executable)
@@ -24,11 +24,11 @@ cp $rscripts/bacula-sd-vtape.conf $conf/bacula-sd.conf
 scripts/prepare-fake-autochanger 300
 
 perl -Mscripts::functions \
-    -e "set_maximum_concurent_jobs('$conf/bacula-dir.conf', 100)"
+    -e "set_maximum_concurrent_jobs('$conf/bacula-dir.conf', 100)"
 perl -Mscripts::functions \
-    -e "set_maximum_concurent_jobs('$conf/bacula-sd.conf', 100)"
+    -e "set_maximum_concurrent_jobs('$conf/bacula-sd.conf', 100)"
 perl -Mscripts::functions \
-    -e "set_maximum_concurent_jobs('$conf/bacula-fd.conf', 100)"
+    -e "set_maximum_concurrent_jobs('$conf/bacula-fd.conf', 100)"
 
 echo "${cwd}/build" >${cwd}/tmp/file-list