FrontPage 

TB Wiki

Login

Regression Test

Expected HTML for page "Sandbox"


expected html
nothing
t1 t
2<table align="right"><tr><td><div class="toc">
3Contents:
4<ul>
5  <li><a href="#file_upload">file&nbsp;upload</a></li>
6  <li><a href="#test_bullets_and_headers">test&nbsp;bullets&nbsp;and&nbsp;headers</a></li>
7  <li><a href="#IfNotAdmin">IfNotAdmin</a></li>
8  <li><a href="#table_with_ROUND">table&nbsp;with&nbsp;ROUND</a></li>
9  <li><a href="#ExternalCmdExample">ExternalCmdExample</a></li>
10  <li><a href="#section_1">section&nbsp;1</a></li>
11  <li><a href="#section_2">section&nbsp;2</a></li>
12  <li><a href="#section_3">section&nbsp;3</a></li>
13  <li><a href="#section_4">section&nbsp;4</a></li>
14  <li><a href="#try_some_data_elements">try&nbsp;some&nbsp;data&nbsp;elements</a></li>
15</ul>
16</div></td></tr></table>
17<p>
18This <b>page</b> is for testing things.  Please feel free to edit or change
19anything here.
20<p>
21<h1><a name="file_upload">file upload</a>
22<span align=right class="section_edit_link">[<a href="/tbwiki/Sandbox?action=edit&section=file_upload">edit section</a>]</font></span>
23</h1>
24<ul><li><a style="color:red;" href="/tbwiki/Sandbox?action=upload_one&dest_fn=foo.txt">file:foo.txt</a>
25</ul>
26<p>
27<h1><a name="test_bullets_and_headers">test bullets and headers</a>
28<span align=right class="section_edit_link">[<a href="/tbwiki/Sandbox?action=edit&section=test_bullets_and_headers">edit section</a>]</font></span>
29</h1>
30<ul><li>see <a style="color:red;" href="/tbwiki/TestBulletsAndHeaders">TestBulletsAndHeaders</a>
31</ul>
32<p>
33<h1><a name="IfNotAdmin">IfNotAdmin</a>
34<span align=right class="section_edit_link">[<a href="/tbwiki/Sandbox?action=edit&section=IfNotAdmin">edit section</a>]</font></span>
35</h1>
36Here is a message showing Admin status:
37<p>
38You are NOT an admin<p>
39Above this line should either be a message about Admins or Non-Admins.
40<p>
41<h1><a name="table_with_ROUND">table with ROUND</a>
42<span align=right class="section_edit_link">[<a href="/tbwiki/Sandbox?action=edit&section=table_with_ROUND">edit section</a>]</font></span>
43</h1>
44<table border=1>
45<tr bgcolor="#d0d0ff">
46  <td align="center"><b>number</b>&nbsp;&nbsp;<a href="/tbwiki/Sandbox?sortby=number">^</a></td>
47  <td align="center"><b>formula</b>&nbsp;&nbsp;<a href="/tbwiki/Sandbox?sortby=formula">^</a></td>
48  <td align="center"><b>result</b>&nbsp;&nbsp;<a href="/tbwiki/Sandbox?sortby=result">^</a></td>
49  <td align="center"><b>expected</b>&nbsp;&nbsp;<a href="/tbwiki/Sandbox?sortby=expected">^</a></td>
50</tr>
51<tr>
52  <td>12.00001</td>
53  <td>f=ROUND($.number,2)</td>
54  <td>12.0</td>
55  <td>12.00</td>
56</tr>
57<tr>
58  <td>15.12468</td>
59  <td>f=ROUND($.number,1)</td>
60  <td>15.1</td>
61  <td>15.1</td>
62</tr>
63<tr>
64  <td>15.12468</td>
65  <td>f=ROUND($.number,2)</td>
66  <td>15.12</td>
67  <td>15.12</td>
68</tr>
69<tr>
70  <td>15.12468</td>
71  <td>f=ROUND($.number,3)</td>
72  <td>15.125</td>
73  <td>15.125</td>
74</tr>
75<tr>
76  <td>15.12468</td>
77  <td>f=ROUND($.number,4)</td>
78  <td>15.1247</td>
79  <td>15.1247</td>
80</tr>
81<tr>
82  <td>literal</td>
83  <td>f=ROUND(23.149,1)</td>
84  <td>23.1</td>
85  <td>23.1</td>
86</tr>
87<tr>
88  <td>literal</td>
89  <td>f=ROUND(23.149,2)</td>
90  <td>23.15</td>
91  <td>23.15</td>
92</tr>
93</table>
94<a href="/tbwiki/Sandbox?action=Table.query_form&source_spec=Sandbox%3A__block1&conf=&table_block=Sandbox%3A__block1">
95            <font size=-1>Query</font></a>
96<br>
97 
98<p>
99<h1><a name="ExternalCmdExample">ExternalCmdExample</a>
100<span align=right class="section_edit_link">[<a href="/tbwiki/Sandbox?action=edit&section=ExternalCmdExample">edit section</a>]</font></span>
101</h1>
102Here is an example of running the ExternCmdExample processor:
103<p>
104Here is an 'ls' example:
105<PRE>
106total 308
107drwxr-xr-x 2 birdorg birdorg  4096 May 25 20:14 __pycache__
108-rwxr-xr-x 1 birdorg birdorg  1706 Sep 17 17:59 blog.cgi
109-rwxr-xr-x 1 birdorg birdorg  1681 Sep 12 14:27 family.cgi
110-rwxr-xr-x 2 birdorg birdorg 19586 Sep  4  2018 fserver.py
111-rwxr-xr-x 1 birdorg birdorg  1903 Feb 23  2026 fuego-1.0.cgi
112-rwxr-xr-x 1 birdorg birdorg  1924 Feb 23  2026 fuego-1.2.cgi
113-rwxr-xr-x 1 birdorg birdorg  1884 Feb 23  2026 fuego.cgi
114-rwxr-xr-x 1 birdorg birdorg   799 Aug 18  2016 give_data_to_bad_guys.cgi
115-rwxr-xr-x 1 birdorg birdorg  1785 Feb 23  2026 jonathan.cgi
116-rwxr-xr-x 1 birdorg birdorg  1629 Jan  3  2020 mwiki.cgi
117-rwxr-xr-x 1 birdorg birdorg  1773 Feb 23  2026 nathan.cgi
118-rwxr-xr-x 1 birdorg birdorg    73 Feb 19  2026 pytest.cgi
119-rwxr-xr-x 1 birdorg birdorg  1761 Feb 23  2026 ryan.cgi
120-rwxr-xr-x 1 birdorg birdorg  1773 Feb 23  2026 samuel.cgi
121-rwxr-xr-x 1 birdorg birdorg  1645 Feb 23  2026 scout.cgi
122-rwxr-xr-x 1 birdorg birdorg  1628 Aug  3 18:41 sony.cgi
123-rwxr-xr-x 1 birdorg birdorg  2863 Feb 23  2026 space.cgi
124-rwxr-xr-x 1 birdorg birdorg  1664 Sep 12 20:29 tbwiki.cgi
125-rwxr-xr-x 1 birdorg birdorg   979 Feb 26  2026 test-py-encoding.cgi
126-rwxr-xr-x 1 birdorg birdorg   612 Feb 26  2026 test-sh-encoding.cgi
127-rwxr-xr-x 1 birdorg birdorg   504 Sep  4 19:15 test-this.cgi
128-rwxr-xr-x 1 birdorg birdorg  2823 Sep 10 08:05 test.cgi
129-rwxr-xr-x 1 birdorg birdorg  1977 Feb 18  2020 test.cgi.save
130-rw-r--r-- 1 birdorg birdorg   147 May 25 22:11 testfile
131-rwxr-xr-x 1 birdorg birdorg    52 Sep  4 19:15 this-python
132-rwxr-xr-x 1 birdorg birdorg    41 Sep  4 19:07 this-shell
133-rwxr-xr-x 1 birdorg birdorg  1657 Apr 30 14:44 tims.cgi
134-rw-r--r-- 1 birdorg birdorg   194 May 25 20:24 vgchart-note.txt
135-rwxr-xr-x 1 birdorg birdorg 30479 May 25 23:59 vgchart.py
136-rw-r--r-- 1 birdorg birdorg 21142 Nov 23  2025 vgchart.pyc
137-rwxr-xr-x 1 birdorg birdorg  1270 Aug 17 18:14 words.cgi
138</PRE>
139 
140<p>
141<hr size=2>
142Here is a 'bc' example:
14339.58403
144<p>
145The line above should show: 39.58403
146<p>
147<hr size=2>
148Here is a 'cat' example:
149This data goes into a temp file, which is cat'ed back out.
150 
151 
152Here is more stuff I added in the processor
153<p>
154The line above should read "This data goes into a temp file, which is cat'ed back out.
155Here is more stuff I added in the processor.
156<p>
157Help page: <a href="https://bird.org/tbwiki/Sandbox?action=ExternalCmdExample.help">ExternalCmdExample.help</a>
158<h1><a name="section_1">section 1</a>
159<span align=right class="section_edit_link">[<a href="/tbwiki/Sandbox?action=edit&section=section_1">edit section</a>]</font></span>
160</h1>
161<p>
162This is section 1
163Here is a link to section 3:
164<ul><li><a href="/tbwiki/Sandbox#section_3">section 3</a>
165</ul>
166<p>
167Here is another link to section 3:
168<ul><li><a href="#section_3">section 3</a>
169</ul>
170<p>
171The above anchor link to the same page should work, and it does!
172<p>
173<h1><a name="section_2">section 2</a>
174<span align=right class="section_edit_link">[<a href="/tbwiki/Sandbox?action=edit&section=section_2">edit section</a>]</font></span>
175</h1>
176<p>
177This is section 2.  It has a block with lots of lines in it.
178<p>
179<pre>
180lots more text in a block to cause lots of lines
181lots more text in a block to cause lots of lines
182lots more text in a block to cause lots of lines
183lots more text in a block to cause lots of lines
184abc
185abc
186abc
187abc
188abc
189abc
190abc
191abc
192abc
193abc
194abc
195abc
196abc
197abc
198abc
199abc
200abc
201abc
202abc
203abc
204abc
205abc
206abc
207abc
208abc
209abc
210abc
211abc
212abc
213abc
214abc
215abc
216abc
217abc
218abc
219abc
220abc
221abc
222abc
223abc
224abc
225abc
226abc
227abc
228abc
229abc
230abc
231abc
232abc
233</pre>
234<p>
235<h1><a name="section_3">section 3</a>
236<span align=right class="section_edit_link">[<a href="/tbwiki/Sandbox?action=edit&section=section_3">edit section</a>]</font></span>
237</h1>
238<p>
239This is section 3
240<p>
241Some more test material
242<p>
243<h1><a name="section_4">section 4</a>
244<span align=right class="section_edit_link">[<a href="/tbwiki/Sandbox?action=edit&section=section_4">edit section</a>]</font></span>
245</h1>
246<p>
247This tests a compact hidden block:
248<p>
249There is a block between this line
250<p>
251 
252<p>
253and this line
254<p>
255<h1><a name="try_some_data_elements">try some data elements</a>
256<span align=right class="section_edit_link">[<a href="/tbwiki/Sandbox?action=edit&section=try_some_data_elements">edit section</a>]</font></span>
257</h1>
258<ul><li>TBWIKI git_describe = v2.0.0-40-ga4adefa
259</ul>
260<p>
Legends
Colors
 Added 
Changed
Deleted
Links
(f)irst change
(n)ext change
(t)op

Differences for page "Sandbox"


expected html
generated html
t No Differences Found t No Differences Found 
Legends
Colors
 Added 
Changed
Deleted
Links
(f)irst change
(n)ext change
(t)op

Update saved output

Back to diff page

Return to Regression_Test page
cat_content='This data goes into a temp file, which is cat'ed back out. '
TBWiki engine 2.0.1 by Tim Bird