File: include.test

package info (click to toggle)
libapache2-mod-rivet 3.2.0-1
  • links: PTS
  • area: main
  • in suites: bullseye
  • size: 5,868 kB
  • sloc: xml: 8,496; tcl: 7,212; ansic: 6,959; sh: 5,030; makefile: 261; sql: 91; lisp: 78
file content (26 lines) | stat: -rw-r--r-- 515 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# $Id$

set testfilename1 include.rvt

::tcltest::test include-1.1 {Include command} {
    set page [ ::http::geturl "${urlbase}$testfilename1" ]
    ::http::data $page
} {<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head><title>Include Test</title></head>

  <body>
    <h1>Include Test</h1>
        <table>
      <tbody>
    <tr>
      <td>row 1</td>
    </tr>
    <tr>
      <td>row 2</td>
    </tr>
      </tbody>
    </table>
<p>ܸ(EUC-JP Japanese text)</p>
  </body>
</html>}