aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v5/db_tests.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sisu/v5/db_tests.rb')
-rw-r--r--lib/sisu/v5/db_tests.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sisu/v5/db_tests.rb b/lib/sisu/v5/db_tests.rb
index 5cc7c982..2e93ba11 100644
--- a/lib/sisu/v5/db_tests.rb
+++ b/lib/sisu/v5/db_tests.rb
@@ -64,14 +64,14 @@ module SiSU_DbTests
class Test
def initialize(info,opt)
@ck,@opt=info,opt
- unless @opt.cmd =~/q/
+ unless @opt.act[:quiet][:set]==:on
puts @ck.tp[:fns] if @ck.tp[:fns] and not @ck.tp[:fns].empty?
puts @ck.tp[:title] if @ck.tp[:title] and not @ck.tp[:title].empty?
puts @ck.tp[:creator] if @ck.tp[:creator] and not @ck.tp[:creator].empty?
end
end
def verify
- unless @opt.cmd =~/q/
+ unless @opt.act[:quiet][:set]==:on
puts @ck.tp[:fns].length.to_s + ' checklength ' + @ck.tp[:fns] if @ck.tp[:fns] and @ck.tp[:fns].length >@ck.lt_filename
puts @ck.tp[:title].length.to_s + ' checklength ' + @ck.tp[:title] if @ck.tp[:title] and @ck.tp[:title].length >@ck.lt_title
puts @ck.tp[:subtitle].length.to_s + ' checklength ' + @ck.tp[:subtitle] if @ck.tp[:subtitle] and @ck.tp[:subtitle].length >@ck.lt_subtitle