Test that -v overrides "verbose false".
authorAdam Sampson <ats@offog.org>
Wed, 31 Jul 2013 17:14:08 +0000 (17:14 +0000)
committerAdam Sampson <ats@offog.org>
Wed, 31 Jul 2013 17:14:08 +0000 (17:14 +0000)
test-rawdog

index 61fc726ef53400a7f2ab8d722a9279c27b516e93..0c5c8be30e25492fa140cdf1f2e0129fb145c4e5 100644 (file)
@@ -470,6 +470,12 @@ begin "--verbose"
 run -vu
 contains $outfile "Starting update"
 
+begin "--verbose overrides config"
+add "verbose false"
+echo "verbose false" >$statedir/config.inc
+run -v -c config.inc -u
+contains $outfile "Starting update"
+
 begin "listing feeds"
 make_rss20 $httpdir/0.rss
 make_rss20 $httpdir/1.rss