]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - t/comments.t
Initial report.
[git.ikiwiki.info.git] / t / comments.t
index 4721d7a9cb130727868ed8f49aefd6dd81c45d70..41e731c8092ba1777ac0a01901212e38afce60d1 100755 (executable)
@@ -21,14 +21,14 @@ writefile("post/comment_3._comment", "t/tmp/in", $comment);
 
 $comment = <<EOF;
 [[!comment username="christopher"
 
 $comment = <<EOF;
 [[!comment username="christopher"
-  date="1492-10-12T07:00:00Z"
+  date="1969-02-12T07:00:00Z"
   content="I explored"]]
 EOF
 writefile("post/comment_2._comment", "t/tmp/in", $comment);
 
 $comment = <<EOF;
 [[!comment username="william"
   content="I explored"]]
 EOF
 writefile("post/comment_2._comment", "t/tmp/in", $comment);
 
 $comment = <<EOF;
 [[!comment username="william"
-  date="1066-10-14T12:00:00Z"
+  date="1969-01-14T12:00:00Z"
   content="I conquered"]]
 EOF
 writefile("post/comment_1._comment", "t/tmp/in", $comment);
   content="I conquered"]]
 EOF
 writefile("post/comment_1._comment", "t/tmp/in", $comment);
@@ -40,7 +40,7 @@ ok(utime(333333333, 333333333, "t/tmp/in/post/comment_1._comment"));
 
 # Build the wiki
 ok(! system("make -s ikiwiki.out"));
 
 # Build the wiki
 ok(! system("make -s ikiwiki.out"));
-ok(! system("perl -I. ./ikiwiki.out -verbose -plugin comments -url=http://example.com -cgiurl=http://example.com/ikiwiki.cgi -rss -atom -underlaydir=underlays/basewiki -set underlaydirbase=underlays -set comments_pagespec='*' -templatedir=templates t/tmp/in t/tmp/out"));
+ok(! system("perl -I. ./ikiwiki.out --verbose --plugin comments --url=http://example.com --cgiurl=http://example.com/ikiwiki.cgi --rss --atom --underlaydir=underlays/basewiki --set underlaydirbase=underlays --set comments_pagespec='*' --templatedir=templates t/tmp/in t/tmp/out"));
 
 # Check that the comments are in the right order
 
 
 # Check that the comments are in the right order