]> git.sur5r.net Git - bacula/bacula/commitdiff
speed-test: small fix
authorEric Bollengier <eric@eb.homelinux.org>
Thu, 17 Sep 2009 21:07:26 +0000 (23:07 +0200)
committerEric Bollengier <eric@eb.homelinux.org>
Mon, 21 Sep 2009 20:41:00 +0000 (22:41 +0200)
regress/tests/speed-test

index bb6b6ccd4cc8d419c2403dd86169ef540a3d6fd6..a454b28fae78385aa53cf9af849fedc0d6a1e3aa 100755 (executable)
@@ -108,7 +108,7 @@ map {
  open(FP, ">$dest/$base/$_") or die "$_ $!";
  print FP "update $_\n";
  close(FP);
-} grep { ! /^\./  } readdir(DIR);
+} grep { ! /^\./ && -f $_ } readdir(DIR);
 closedir DIR;
 '
 run_bconsole