tests/test-hgwebdir.t
changeset 12643 d08bb64888bc
parent 12443 8dfdf0219494
child 13066 86888ae9ce90
equal deleted inserted replaced
12642:bb35840e965c 12643:d08bb64888bc
    81   [1]
    81   [1]
    82 
    82 
    83 atom-log without basedir
    83 atom-log without basedir
    84 
    84 
    85   $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT '/a/atom-log' | grep '<link'
    85   $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT '/a/atom-log' | grep '<link'
    86    <link rel="self" href="http://*/a/atom-log"/> (glob)
    86    <link rel="self" href="http://*:$HGPORT/a/atom-log"/> (glob)
    87    <link rel="alternate" href="http://*/a/"/> (glob)
    87    <link rel="alternate" href="http://*:$HGPORT/a/"/> (glob)
    88     <link href="http://*/a/rev/8580ff50825a"/> (glob)
    88     <link href="http://*:$HGPORT/a/rev/8580ff50825a"/> (glob)
    89 
    89 
    90 rss-log without basedir
    90 rss-log without basedir
    91 
    91 
    92   $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT '/a/rss-log' | grep '<guid'
    92   $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT '/a/rss-log' | grep '<guid'
    93       <guid isPermaLink="true">http://*/a/rev/8580ff50825a</guid> (glob)
    93       <guid isPermaLink="true">http://*:$HGPORT/a/rev/8580ff50825a</guid> (glob)
    94   $ cat > paths.conf <<EOF
    94   $ cat > paths.conf <<EOF
    95   > [paths]
    95   > [paths]
    96   > t/a/=$root/a
    96   > t/a/=$root/a
    97   > b=$root/b
    97   > b=$root/b
    98   > coll=$root/*
    98   > coll=$root/*
   393   200 Script output follows
   393   200 Script output follows
   394   
   394   
   395   <?xml version="1.0" encoding="ascii"?>
   395   <?xml version="1.0" encoding="ascii"?>
   396   <feed xmlns="http://www.w3.org/2005/Atom">
   396   <feed xmlns="http://www.w3.org/2005/Atom">
   397    <!-- Changelog -->
   397    <!-- Changelog -->
   398    <id>http://*/t/a/</id> (glob)
   398    <id>http://*:$HGPORT1/t/a/</id> (glob)
   399    <link rel="self" href="http://*/t/a/atom-log"/> (glob)
   399    <link rel="self" href="http://*:$HGPORT1/t/a/atom-log"/> (glob)
   400    <link rel="alternate" href="http://*/t/a/"/> (glob)
   400    <link rel="alternate" href="http://*:$HGPORT1/t/a/"/> (glob)
   401    <title>t/a Changelog</title>
   401    <title>t/a Changelog</title>
   402    <updated>1970-01-01T00:00:01+00:00</updated>
   402    <updated>1970-01-01T00:00:01+00:00</updated>
   403   
   403   
   404    <entry>
   404    <entry>
   405     <title>a</title>
   405     <title>a</title>
   406     <id>http://*/t/a/#changeset-8580ff50825a50c8f716709acdf8de0deddcd6ab</id> (glob)
   406     <id>http://*:$HGPORT1/t/a/#changeset-8580ff50825a50c8f716709acdf8de0deddcd6ab</id> (glob)
   407     <link href="http://*/t/a/rev/8580ff50825a"/> (glob)
   407     <link href="http://*:$HGPORT1/t/a/rev/8580ff50825a"/> (glob)
   408     <author>
   408     <author>
   409      <name>test</name>
   409      <name>test</name>
   410      <email>&#116;&#101;&#115;&#116;</email>
   410      <email>&#116;&#101;&#115;&#116;</email>
   411     </author>
   411     </author>
   412     <updated>1970-01-01T00:00:01+00:00</updated>
   412     <updated>1970-01-01T00:00:01+00:00</updated>
   423   200 Script output follows
   423   200 Script output follows
   424   
   424   
   425   <?xml version="1.0" encoding="ascii"?>
   425   <?xml version="1.0" encoding="ascii"?>
   426   <feed xmlns="http://www.w3.org/2005/Atom">
   426   <feed xmlns="http://www.w3.org/2005/Atom">
   427    <!-- Changelog -->
   427    <!-- Changelog -->
   428    <id>http://*/t/a/</id> (glob)
   428    <id>http://*:$HGPORT1/t/a/</id> (glob)
   429    <link rel="self" href="http://*/t/a/atom-log"/> (glob)
   429    <link rel="self" href="http://*:$HGPORT1/t/a/atom-log"/> (glob)
   430    <link rel="alternate" href="http://*/t/a/"/> (glob)
   430    <link rel="alternate" href="http://*:$HGPORT1/t/a/"/> (glob)
   431    <title>t/a Changelog</title>
   431    <title>t/a Changelog</title>
   432    <updated>1970-01-01T00:00:01+00:00</updated>
   432    <updated>1970-01-01T00:00:01+00:00</updated>
   433   
   433   
   434    <entry>
   434    <entry>
   435     <title>a</title>
   435     <title>a</title>
   436     <id>http://*/t/a/#changeset-8580ff50825a50c8f716709acdf8de0deddcd6ab</id> (glob)
   436     <id>http://*:$HGPORT1/t/a/#changeset-8580ff50825a50c8f716709acdf8de0deddcd6ab</id> (glob)
   437     <link href="http://*/t/a/rev/8580ff50825a"/> (glob)
   437     <link href="http://*:$HGPORT1/t/a/rev/8580ff50825a"/> (glob)
   438     <author>
   438     <author>
   439      <name>test</name>
   439      <name>test</name>
   440      <email>&#116;&#101;&#115;&#116;</email>
   440      <email>&#116;&#101;&#115;&#116;</email>
   441     </author>
   441     </author>
   442     <updated>1970-01-01T00:00:01+00:00</updated>
   442     <updated>1970-01-01T00:00:01+00:00</updated>