fsl wrapper

Check-in [29b2f5e1f0]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Updated the reference html log
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:29b2f5e1f0159efe0ff885627265ae3804785017
User & Date: mrwellan 2012-05-08 20:42:31
Context
2013-03-29
06:32
Added new files for utils check-in: 33f9807c72 user: matt tags: trunk
2012-05-08
20:42
Updated the reference html log check-in: 29b2f5e1f0 user: mrwellan tags: trunk
20:26
Bumped version check-in: 3a251dc9b7 user: mrwellan tags: trunk, v1.22d
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to validation/last_log.html.

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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
..
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
...
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149

150

151
152
153
154
155
<html><header>LOGPRO RESULTS</header><body>
Summary is <a href="#summary">here</a>
<br>(processed by logpro version 1.04, tool details at: <a href="http://www.kiatoa.com/fossils/logpro">logpro</a>)
<hr><pre>
<a name="#f"></a><a href="#f" style="background-color: white; color: blue;">Test run dir is: /tmp/fsltst_matt_tUjoH</a>
<a name="key_6_1"></a><a href="#key_6_2" style="background-color: white; color: red;">### Test create of new area with missing path (expect an error)</a>
<a name="key_0_1"></a><a href="#key_0_2" style="background-color: white; color: purple;">ERROR: You must specify both area name and repo path with addarea</a>

PASS
<a name="#f"></a><a href="#f" style="background-color: white; color: blue;">### Test create of new area with path</a>

### Test listing of areas
area        path                                                             
----------  -----------------------------------------------------------------
com         /home/matt/fossils                                               



<a name="key_1_1"></a><a href="#key_1_2" style="background-color: white; color: purple;">misc        /tmp/fsltst_matt_tUjoH/fossils                                   </a>

testing     .                                                                



### Test listing of repos in empty area
*
<a name="#f"></a><a href="#f" style="background-color: white; color: blue;">### Test create of new fossil</a>

project-id: 241a2c9885c7adce23d4ac4bb81a33fb72095bdb
server-id:  c3c8892264c498aa3175abd1ae89a61b3d491cc3
admin-user: matt (initial password is "53992a")
<a name="key_2_1"></a><a href="#key_2_2" style="background-color: white; color: purple;">PASS</a>
<a name="#f"></a><a href="#f" style="background-color: white; color: blue;">### Test getting of repo in misc area</a>

matt         
<a name="key_3_1"></a><a href="#key_3_2" style="background-color: white; color: purple;">Repository cloned into test/.fossil/test.fossil</a>

Rebuilding repository meta-data...
  0.0% complete...
  100.0% complete...
project-id: 241a2c9885c7adce23d4ac4bb81a33fb72095bdb
server-id:  bb740fa4e7a46932f84706dac9396e6857f53633
admin-user: matt (password is "b25a44")
matt         
<a name="#f"></a><a href="#f" style="background-color: white; color: blue;">### Test, first user should be matt</a>

matt
<a name="#f"></a><a href="#f" style="background-color: white; color: blue;">### Test getting the repo by searching all areas</a>
<a name="key_5_1"></a><a href="#key_5_2" style="background-color: white; color: orange;">WARNING: no area provided, searching for first repo by name "test"</a>

NOTE: using repo test found in misc
matt         
Repository cloned into test/.fossil/test.fossil
Rebuilding repository meta-data...
  0.0% complete...
  100.0% complete...
project-id: 241a2c9885c7adce23d4ac4bb81a33fb72095bdb
server-id:  baf79023d4de290e5f73628b4438a34b5f3baa3b
admin-user: matt (password is "f52f6e")
matt         
PASS
### Test: mv dir1 dir2, where dir2 not exists
+ cd test
+ mkdir -p dir1/dir1.1
+ touch dir1/file1.txt dir1/dir1.1/file2.txt
+ ln -s dir1/file1.txt dir1/file3.txt
+ fsl add dir1
................................................................................
ADDED  dir1/dir1.1/file2.txt
ADDED  dir1/file1.txt
ADDED  dir1/file3.txt
+ fsl ci -m 'file1.txt and file2.txt committed'
ADDED      dir1/dir1.1/file2.txt
ADDED      dir1/file1.txt
ADDED      dir1/file3.txt
Autosync:  file:///tmp/fsltst_matt_tUjoH/fossils/test.fossil
                Bytes      Cards  Artifacts     Deltas

Sent:             130          1          0          0
waiting for server...
processed: 58%         
Received:          78          2          0          0
Total network traffic: 269 bytes sent, 285 bytes received
New_Version: bac6d68509d1d81923284f710dd45af0cdf17e71
Autosync:  file:///tmp/fsltst_matt_tUjoH/fossils/test.fossil
                Bytes      Cards  Artifacts     Deltas

Sent:             930          6          3          0
waiting for server...
processed: 21%         
processed: 42%         
processed: 63%         
processed: 85%         
Received:         216          5          0          0
Total network traffic: 549 bytes sent, 364 bytes received
+ fsl status
repository:   /tmp/fsltst_matt_tUjoH/test/.fossil/test.fossil
local-root:   /tmp/fsltst_matt_tUjoH/test/
checkout:     bac6d68509d1d81923284f710dd45af0cdf17e71 2012-04-26 04:28:07 UTC
parent:       d745ac96ee059e671649395861784481c22b28a0 2012-04-26 04:28:03 UTC
tags:         trunk
comment:      file1.txt and file2.txt committed (user: matt)
+ fsl mv -f dir1 dir2
targ_path_num: 1, last_path_num: 0, targ_path: dir2
Processing source path dir1 to target dir2
fossil mv dir1/dir1.1/file2.txt dir2/dir1.1/file2.txt
RENAME dir1/dir1.1/file2.txt dir2/dir1.1/file2.txt
mv dir1/dir1.1/file2.txt dir2/dir1.1/file2.txt
fossil mv dir1/file1.txt dir2/file1.txt
................................................................................
fossil mv dir1/file3.txt dir2/file3.txt
RENAME dir1/file3.txt dir2/file3.txt
mv dir1/file3.txt dir2/file3.txt
+ fsl ci -m 'Moved dir1 to dir2'
RENAMED    dir2/dir1.1/file2.txt
RENAMED    dir2/file1.txt
RENAMED    dir2/file3.txt
Autosync:  file:///tmp/fsltst_matt_tUjoH/fossils/test.fossil
                Bytes      Cards  Artifacts     Deltas

Sent:             130          1          0          0
waiting for server...
processed: 21%         
processed: 42%         
processed: 63%         
processed: 85%         
Received:         216          5          0          0
Total network traffic: 269 bytes sent, 365 bytes received
New_Version: 088025c8dc1d9fea520fc5cc4ce43d14717df1c9
Autosync:  file:///tmp/fsltst_matt_tUjoH/fossils/test.fossil
                Bytes      Cards  Artifacts     Deltas

Sent:             816          7          0          1
waiting for server...
processed: 17%         
processed: 35%         
processed: 52%         
processed: 70%         
processed: 87%         
Received:         262          6          0          0
Total network traffic: 591 bytes sent, 389 bytes received
PASS
<a name="key_7_1"></a><a href="#key_7_2" style="background-color: white; color: red;">FAIL</a>
<a name="summary"></a>
==========================LOGPRO SUMMARY==========================
Trigger: get repo by search              OK, count=1
Trigger: first user                 OK, count=1
Trigger: getting of repo              OK, count=1
Trigger: create of new fossil              OK, count=1
Trigger: create area with path              OK, count=1
Trigger: create area no path              OK, count=1
Trigger: LogFileBodyStart              OK, count=1
<font color="purple"><a name="key_2_2"></a><a href="#key_2_1">Expect:</a>  Required in create of new fossil   OK, expected = 1 of Got PASS, got 1</font>
<font color="red"><a name="key_7_2"></a><a href="#key_7_1">Expect:</a>  Error    in LogFileBody  FAIL, expected = 0 of Any fail, got 1</font>
<font color="red"><a name="key_6_2"></a><a href="#key_6_1">Expect:</a>  Error    in LogFileBody  FAIL, expected = 0 of Any error, got 1</font>

<font color="orange"><a name="key_5_2"></a><a href="#key_5_1">Expect:</a>  Warning  in LogFileBody  FAIL, expected = 0 of Any warning, got 1</font>

<font color="purple"><a name="key_0_2"></a><a href="#key_0_1">Expect:</a>  Required in create area no path   OK, expected = 1 of Required error, got 1</font>
<font color="purple"><a name="key_1_2"></a><a href="#key_1_1">Expect:</a>  Required in create area with path   OK, expected = 1 of Area created, got 1</font>
<font color="black"><a name="key_4_1"></a>Expect:  Error    in getting of repo   OK, expected = 0 of user already exists, got 0</font>
<font color="purple"><a name="key_3_2"></a><a href="#key_3_1">Expect:</a>  Required in getting of repo   OK, expected = 1 of Repository cloned, got 1</font>
</pre></body></html>


|

|
|








|
>
>
>
|

<
>
>
>




|
|
|



|





|
|
|
|
|

|

|


|




|
|
|
|







 







|







|
|


|






|

|
|
|
|

|







 







|









|
|
|


|







|
|
|










|
|
>
|
>


|


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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
..
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
...
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
<html><header>LOGPRO RESULTS</header><body>
Summary is <a href="#summary">here</a>
<br>(processed by logpro version 1.06, tool details at: <a href="http://www.kiatoa.com/fossils/logpro">logpro</a>)
<hr><pre>
<a name="#f"></a><a href="#f" style="background-color: white; color: blue;">Test run dir is: /tmp/fsltst_mrwellan_15502</a>
<a name="key_5_1"></a><a href="#key_5_2" style="background-color: white; color: green;">### Test create of new area with missing path (expect an error)</a>
<a name="key_0_1"></a><a href="#key_0_2" style="background-color: white; color: purple;">ERROR: You must specify both area name and repo path with addarea</a>

PASS
<a name="#f"></a><a href="#f" style="background-color: white; color: blue;">### Test create of new area with path</a>

### Test listing of areas
area        path                                                             
----------  -----------------------------------------------------------------
fdk         /p/foundry/env/repo/fossil/fdk                                   
fdk71       /p/foundry/env/repo/fossil/fdk71                                 
fdk73       /p/foundry/env/repo/fossil/fdk73                                 
ice         /p/foundry/env/repo/fossil/ice                                   
<a name="key_1_1"></a><a href="#key_1_2" style="background-color: white; color: purple;">misc        /tmp/fsltst_mrwellan_15502/fossils                               </a>


nada        /tmp/fsltst_mrwellan_23471/fossils                               
proj_tools  /p/foundry/env/repo/fossil/proj_tools                            
testcases   /p/foundry/env/repo/fossil/testcases                             
### Test listing of repos in empty area
*
<a name="#f"></a><a href="#f" style="background-color: white; color: blue;">### Test create of new fossil</a>

project-id: 2ed17a4a1228644984262d44b565ae76f7b72e4c
server-id:  e6ea2d94693412cbdcdf88d521833647a8c038bd
admin-user: mrwellan (initial password is "2ed3b4")
<a name="key_2_1"></a><a href="#key_2_2" style="background-color: white; color: purple;">PASS</a>
<a name="#f"></a><a href="#f" style="background-color: white; color: blue;">### Test getting of repo in misc area</a>

mrwellan     
<a name="key_3_1"></a><a href="#key_3_2" style="background-color: white; color: purple;">Repository cloned into test/.fossil/test.fossil</a>

Rebuilding repository meta-data...
  0.0% complete...
  100.0% complete...
project-id: 2ed17a4a1228644984262d44b565ae76f7b72e4c
server-id:  ace6327fb00bce5ae8eaaf71d0bdf872f707813e
admin-user: mrwellan (password is "f032b6")
mrwellan     
<a name="#f"></a><a href="#f" style="background-color: white; color: blue;">### Test, first user should be mrwellan</a>

mrwellan
<a name="#f"></a><a href="#f" style="background-color: white; color: blue;">### Test getting the repo by searching all areas</a>
<a name="key_4_1"></a><a href="#key_4_2" style="background-color: white; color: green;">WARNING: no area provided, searching for first repo by name "test"</a>

NOTE: using repo test found in misc
mrwellan     
Repository cloned into test/.fossil/test.fossil
Rebuilding repository meta-data...
  0.0% complete...
  100.0% complete...
project-id: 2ed17a4a1228644984262d44b565ae76f7b72e4c
server-id:  3088c252a798d7157f1b4f46e4eda16238eef0bf
admin-user: mrwellan (password is "da832b")
mrwellan     
PASS
### Test: mv dir1 dir2, where dir2 not exists
+ cd test
+ mkdir -p dir1/dir1.1
+ touch dir1/file1.txt dir1/dir1.1/file2.txt
+ ln -s dir1/file1.txt dir1/file3.txt
+ fsl add dir1
................................................................................
ADDED  dir1/dir1.1/file2.txt
ADDED  dir1/file1.txt
ADDED  dir1/file3.txt
+ fsl ci -m 'file1.txt and file2.txt committed'
ADDED      dir1/dir1.1/file2.txt
ADDED      dir1/file1.txt
ADDED      dir1/file3.txt
Autosync:  file:///tmp/fsltst_mrwellan_15502/fossils/test.fossil
                Bytes      Cards  Artifacts     Deltas

Sent:             130          1          0          0
waiting for server...
processed: 58%         
Received:          78          2          0          0
Total network traffic: 269 bytes sent, 285 bytes received
New_Version: dd31a0cd5388bf852764bdd4c5b1a0f938b19f7f
Autosync:  file:///tmp/fsltst_mrwellan_15502/fossils/test.fossil
                Bytes      Cards  Artifacts     Deltas

Sent:             934          6          3          0
waiting for server...
processed: 21%         
processed: 42%         
processed: 63%         
processed: 85%         
Received:         216          5          0          0
Total network traffic: 551 bytes sent, 363 bytes received
+ fsl status
repository:   /tmp/fsltst_mrwellan_15502/test/.fossil/test.fossil
local-root:   /tmp/fsltst_mrwellan_15502/test/
checkout:     dd31a0cd5388bf852764bdd4c5b1a0f938b19f7f 2012-05-08 20:41:38 UTC
parent:       8303f4ff7eac4249e9ac31cdc8a6215fc5469701 2012-05-08 20:41:36 UTC
tags:         trunk
comment:      file1.txt and file2.txt committed (user: mrwellan)
+ fsl mv -f dir1 dir2
targ_path_num: 1, last_path_num: 0, targ_path: dir2
Processing source path dir1 to target dir2
fossil mv dir1/dir1.1/file2.txt dir2/dir1.1/file2.txt
RENAME dir1/dir1.1/file2.txt dir2/dir1.1/file2.txt
mv dir1/dir1.1/file2.txt dir2/dir1.1/file2.txt
fossil mv dir1/file1.txt dir2/file1.txt
................................................................................
fossil mv dir1/file3.txt dir2/file3.txt
RENAME dir1/file3.txt dir2/file3.txt
mv dir1/file3.txt dir2/file3.txt
+ fsl ci -m 'Moved dir1 to dir2'
RENAMED    dir2/dir1.1/file2.txt
RENAMED    dir2/file1.txt
RENAMED    dir2/file3.txt
Autosync:  file:///tmp/fsltst_mrwellan_15502/fossils/test.fossil
                Bytes      Cards  Artifacts     Deltas

Sent:             130          1          0          0
waiting for server...
processed: 21%         
processed: 42%         
processed: 63%         
processed: 85%         
Received:         216          5          0          0
Total network traffic: 268 bytes sent, 363 bytes received
New_Version: 04417bbcab1e06538f2427a006162c1eb27bbb35
Autosync:  file:///tmp/fsltst_mrwellan_15502/fossils/test.fossil
                Bytes      Cards  Artifacts     Deltas

Sent:             819          7          0          1
waiting for server...
processed: 17%         
processed: 35%         
processed: 52%         
processed: 70%         
processed: 87%         
Received:         262          6          0          0
Total network traffic: 596 bytes sent, 387 bytes received
PASS move to test/dir2/dir1.1/file2.txt
PASS move to test/dir2/file3.txt
<a name="summary"></a>
==========================LOGPRO SUMMARY==========================
Trigger: get repo by search              OK, count=1
Trigger: first user                 OK, count=1
Trigger: getting of repo              OK, count=1
Trigger: create of new fossil              OK, count=1
Trigger: create area with path              OK, count=1
Trigger: create area no path              OK, count=1
Trigger: LogFileBodyStart              OK, count=1
<font color="purple"><a name="key_2_2"></a><a href="#key_2_1">Expect:</a>  Required in create of new fossil   OK, expected = 1 of Got PASS, got 1</font>
<font color="black"><a name="key_9_1"></a>Expect:  Error    in LogFileBody    OK, expected = 0 of Any fail, got 0</font>
<font color="black"><a name="key_8_1"></a>Expect:  Error    in LogFileBody    OK, expected = 0 of Any error, got 0</font>
<font color="black"><a name="key_7_1"></a>Expect:  Warning  in LogFileBody    OK, expected = 0 of Any warning, got 0</font>
<font color="green"><a name="key_5_2"></a><a href="#key_5_1">Expect:</a>  Ignore   in LogFileBody    OK, expected < 2 of Non-error, got 1</font>
<font color="green"><a name="key_4_2"></a><a href="#key_4_1">Expect:</a>  Ignore   in LogFileBody    OK, expected < 2 of No area provided warning, got 1</font>
<font color="purple"><a name="key_0_2"></a><a href="#key_0_1">Expect:</a>  Required in create area no path   OK, expected = 1 of Required error, got 1</font>
<font color="purple"><a name="key_1_2"></a><a href="#key_1_1">Expect:</a>  Required in create area with path   OK, expected = 1 of Area created, got 1</font>
<font color="black"><a name="key_6_1"></a>Expect:  Error    in getting of repo   OK, expected = 0 of user already exists, got 0</font>
<font color="purple"><a name="key_3_2"></a><a href="#key_3_1">Expect:</a>  Required in getting of repo   OK, expected = 1 of Repository cloned, got 1</font>
</pre></body></html>