-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCommandLine_Bugs.robot
More file actions
37 lines (27 loc) · 1.3 KB
/
Copy pathCommandLine_Bugs.robot
File metadata and controls
37 lines (27 loc) · 1.3 KB
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
*** Settings ***
Resource CommandLine_Common.robot
*** Test Cases ***
Check for Hang if port can't be opened
[Tags] CommandLine Issue #18 ubuntu windows
# port 80 doesn't fail on MacOS, only windows and linux, so set to port 1080 as there is already
# a TDT instance running there (suite Setup) so should always fail here
# [Server]
# bindip =
# bindport = 80
# datadir = ${OUTPUT DIR}${/}${TEST NAME}
# dbfile = TestDataTable.sqlite3
&{server} = Create Dictionary bindport=80 datadir=${OUTPUT DIR}${/}${TEST NAME}
# [Resources]
# js_jquery = https://unpkg.com/jquery@latest/dist/jquery.min.js
# js_jqueryui = https://code.jquery.com/ui/1.12.1/jquery-ui.min.js
# css_jqueryui = https://code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css
# js_papaparse = https://unpkg.com/papaparse@latest/papaparse.min.js
&{resources} = Create Dictionary
&{inidata} = Create Dictionary Server=${server} Resources=${resources}
Dict to INI ${inidata} ${OUTPUT DIR}${/}${TEST NAME}${/}TestDataTable.ini
Open Test Data Table -i ${OUTPUT DIR}${/}${TEST NAME}${/}TestDataTable.ini
Wait For Test Data Table 1min
${stdout}= Show Log ${OUTPUT DIR}${/}stdout.txt
${stderr}= Show Log ${OUTPUT DIR}${/}stderr.txt
Should Contain ${stdout} Permission denied when trying
[Teardown] Stop Test Data Table