Login | Register
My pages Projects Community openCollabNet

Discussions > cvs > CVS update: /svnutils/trunk/src/tests/

svnutils
Discussion topic

Back to topic list

CVS update: /svnutils/trunk/src/tests/

Author sunny256
Full name Øyvind A. Holm
Date 2008-10-02 14:18:28 PDT
Message User: sunny256
Date: 2008-10-02 14:18:28-0700
Modified:
   svnutils/trunk/src/t​ests/findrev.t
   svnutils/trunk/src/t​ests/mergesvn.t
   svnutils/trunk/src/t​ests/sident.t
   svnutils/trunk/src/t​ests/svndiff.t

Log:
 r223 | sunny256 | 2008-10-02 21:08:10 +0000 (Thu, 02 Oct 2008) | 9 lines
 
 * /trunk/src/tests/findrev.t
 * /trunk/src/tests/mergesvn.t
 * /trunk/src/tests/sident.t
 * /trunk/src/tests/svndiff.t
   (No Id with only -h): Use ok() instead of unlike(), some weird error
     on at least Debian 3.1 (sarge) and older.
 
 1fe1a5aa-90c6-11dd-b​30b-000475e441b9 (svn)
 a2b75078-90c7-11dd-8​05c-000475e441b9 (cvs)

File Changes:

Directory: /svnutils/trunk/src/tests/
====================​=================

File [changed]: findrev.t
Url: http://svnutils.tigr​is.org/source/browse​/svnutils/trunk/src/​tests/findrev.t?r1=1​.2&r2=1.3
Delta lines: +5 -10
--------------------
--- findrev.t 2008-10-02 08:49:27-0700 1.2
+++ findrev.t 2008-10-02 14:18:25-0700 1.3
@@ -1,7 +1,7 @@
 #!/usr/bin/perl -w
 
 #===================​====================​====================​============
-# $Id: findrev.t 222 2008-10-02 15:46:29Z sunny256 $
+# $Id: findrev.t 223 2008-10-02 21:08:10Z sunny256 $
 # Test suite for findrev(1).
 #
 # Character set: UTF-8
@@ -39,7 +39,7 @@
 our $progname = $0;
 $progname =~ s/^.*\/(.*?)$/$1/;
 
-my $rcs_id = '$Id: findrev.t 222 2008-10-02 15:46:29Z sunny256 $';
+my $rcs_id = '$Id: findrev.t 223 2008-10-02 21:08:10Z sunny256 $';
 my $id_date = $rcs_id;
 $id_date =~ s/^.*?\d+ (\d\d\d\d-.*?\d​\d:\d\d:\d\d\S​+).*/$1/;
 
@@ -97,12 +97,7 @@
 );
 
 # }}}
-unlike(`$CMD -h`, # {{{
- '/\$Id: /',
- "\"$CMD -h\" - No Id with only -h",
-);
-
-# }}}
+ok(`$CMD -h` !~ /\$Id: /s, "\"$CMD -h\" - No Id with only -h");
 diag("Testing -v (--verbose) option...");
 likecmd("$CMD -hv", # {{{
     '/\$Id: .*? \$.* Show this help\./s',
@@ -271,7 +266,7 @@
 
 =head1 REVISION
 
-$Id: findrev.t 222 2008-10-02 15:46:29Z sunny256 $
+$Id: findrev.t 223 2008-10-02 21:08:10Z sunny256 $
 
 =head1 SYNOPSIS
 
@@ -343,4 +338,4 @@
 # }}}
 
 # vim: set fenc=UTF-8 ft=perl fdm=marker ts=4 sw=4 sts=4 et fo+=w :
-# End of file $Id: findrev.t 222 2008-10-02 15:46:29Z sunny256 $
+# End of file $Id: findrev.t 223 2008-10-02 21:08:10Z sunny256 $

File [changed]: mergesvn.t
Url: http://svnutils.tigr​is.org/source/browse​/svnutils/trunk/src/​tests/mergesvn.t?r1=​1.2&r2=1.3
Delta lines: +5 -10
--------------------
--- mergesvn.t 2008-10-02 08:49:27-0700 1.2
+++ mergesvn.t 2008-10-02 14:18:25-0700 1.3
@@ -1,7 +1,7 @@
 #!/usr/bin/perl -w
 
 #===================​====================​====================​============
-# $Id: mergesvn.t 222 2008-10-02 15:46:29Z sunny256 $
+# $Id: mergesvn.t 223 2008-10-02 21:08:10Z sunny256 $
 # Test suite for mergesvn(1).
 #
 # Character set: UTF-8
@@ -39,7 +39,7 @@
 our $progname = $0;
 $progname =~ s/^.*\/(.*?)$/$1/;
 
-my $rcs_id = '$Id: mergesvn.t 222 2008-10-02 15:46:29Z sunny256 $';
+my $rcs_id = '$Id: mergesvn.t 223 2008-10-02 21:08:10Z sunny256 $';
 my $id_date = $rcs_id;
 $id_date =~ s/^.*?\d+ (\d\d\d\d-.*?\d​\d:\d\d:\d\d\S​+).*/$1/;
 
@@ -97,12 +97,7 @@
 );
 
 # }}}
-unlike(`$CMD -h`, # {{{
- '/\$Id: /',
- "\"$CMD -h\" - No Id with only -h",
-);
-
-# }}}
+ok(`$CMD -h` !~ /\$Id: /s, "\"$CMD -h\" - No Id with only -h");
 diag("Testing -v (--verbose) option...");
 likecmd("$CMD -hv", # {{{
     '/\$Id: .*? \$.* Show this help\./s',
@@ -271,7 +266,7 @@
 
 =head1 REVISION
 
-$Id: mergesvn.t 222 2008-10-02 15:46:29Z sunny256 $
+$Id: mergesvn.t 223 2008-10-02 21:08:10Z sunny256 $
 
 =head1 SYNOPSIS
 
@@ -343,4 +338,4 @@
 # }}}
 
 # vim: set fenc=UTF-8 ft=perl fdm=marker ts=4 sw=4 sts=4 et fo+=w :
-# End of file $Id: mergesvn.t 222 2008-10-02 15:46:29Z sunny256 $
+# End of file $Id: mergesvn.t 223 2008-10-02 21:08:10Z sunny256 $

File [changed]: sident.t
Url: http://svnutils.tigr​is.org/source/browse​/svnutils/trunk/src/​tests/sident.t?r1=1.​4&r2=1.5
Delta lines: +1 -6
-------------------
--- sident.t 2008-10-02 08:49:27-0700 1.4
+++ sident.t 2008-10-02 14:18:25-0700 1.5
@@ -226,12 +226,7 @@
 );
 
 # }}}
-unlike(`$CMD -h`, # {{{
- '/\$Id: /',
- "\"$CMD -h\" - No Id with only -h",
-);
-
-# }}}
+ok(`$CMD -h` !~ /\$Id: /s, "\"$CMD -h\" - No Id with only -h");
 diag("Testing -k (--known-keywords-only) option...");
 testcmd("$CMD -k sident-files/textfile", # {{{
     <<'END',

File [changed]: svndiff.t
Url: http://svnutils.tigr​is.org/source/browse​/svnutils/trunk/src/​tests/svndiff.t?r1=1​.2&r2=1.3
Delta lines: +5 -10
--------------------
--- svndiff.t 2008-10-02 08:49:27-0700 1.2
+++ svndiff.t 2008-10-02 14:18:25-0700 1.3
@@ -1,7 +1,7 @@
 #!/usr/bin/perl -w
 
 #===================​====================​====================​============
-# $Id: svndiff.t 222 2008-10-02 15:46:29Z sunny256 $
+# $Id: svndiff.t 223 2008-10-02 21:08:10Z sunny256 $
 # Test suite for svndiff(1).
 #
 # Character set: UTF-8
@@ -39,7 +39,7 @@
 our $progname = $0;
 $progname =~ s/^.*\/(.*?)$/$1/;
 
-my $rcs_id = '$Id: svndiff.t 222 2008-10-02 15:46:29Z sunny256 $';
+my $rcs_id = '$Id: svndiff.t 223 2008-10-02 21:08:10Z sunny256 $';
 my $id_date = $rcs_id;
 $id_date =~ s/^.*?\d+ (\d\d\d\d-.*?\d​\d:\d\d:\d\d\S​+).*/$1/;
 
@@ -97,12 +97,7 @@
 );
 
 # }}}
-unlike(`$CMD -h`, # {{{
- '/\$Id: /',
- "\"$CMD -h\" - No Id with only -h",
-);
-
-# }}}
+ok(`$CMD -h` !~ /\$Id: /s, "\"$CMD -h\" - No Id with only -h");
 diag("Testing -v (--verbose) option...");
 likecmd("$CMD -hv", # {{{
     '/\$Id: .*? \$.* Show this help\./s',
@@ -271,7 +266,7 @@
 
 =head1 REVISION
 
-$Id: svndiff.t 222 2008-10-02 15:46:29Z sunny256 $
+$Id: svndiff.t 223 2008-10-02 21:08:10Z sunny256 $
 
 =head1 SYNOPSIS
 
@@ -343,4 +338,4 @@
 # }}}
 
 # vim: set fenc=UTF-8 ft=perl fdm=marker ts=4 sw=4 sts=4 et fo+=w :
-# End of file $Id: svndiff.t 222 2008-10-02 15:46:29Z sunny256 $
+# End of file $Id: svndiff.t 223 2008-10-02 21:08:10Z sunny256 $

« Previous message in topic | 1 of 1 | Next message in topic »

Messages

Show all messages in topic

CVS update: /svnutils/trunk/src/tests/ sunny256 Øyvind A. Holm 2008-10-02 14:18:28 PDT
Messages per page: