From: <jh...@us...> - 2009-09-23 00:53:19
|
Revision: 93 http://etch.svn.sourceforge.net/etch/?rev=93&view=rev Author: jheiss Date: 2009-09-23 00:53:07 +0000 (Wed, 23 Sep 2009) Log Message: ----------- Put killswitch test in its own method. Modified Paths: -------------- trunk/test/options.rb Modified: trunk/test/options.rb =================================================================== --- trunk/test/options.rb 2009-09-14 20:13:25 UTC (rev 92) +++ trunk/test/options.rb 2009-09-23 00:53:07 UTC (rev 93) @@ -26,7 +26,7 @@ #puts "Using #{@testbase} as client working directory" end - def test_dryrun + def test_killswitch # # Test killswitch (not really a command-line option, but seems to # fit best in this file) @@ -67,9 +67,9 @@ run_etch(@port, @testbase, true) assert_equal(origcontents, get_file_contents(@targetfile), 'killswitch') - - File.delete("#{@repodir}/killswitch") - + end + + def test_dryrun # # Test --dry-run # This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |