提交 92a72071 编写于 作者: aaronchen2k2k's avatar aaronchen2k2k

fix issue for multi-line script parser

上级 8ba9cd07
#!/usr/bin/env php #!/usr/bin/env php
<?php <?php
/** /**
title=multi lines
cid=0
pid=0
title = simple demo steps
cid=3 step 1.1
pid=1 step 1.2 >>
expect 1.2 line 1
step1 >> expect 1 expect 1.2 line 2
step2 >> >>
step3 >> expect 3
*/ */
checkStep1() || print("expect 1\n"); print(">>\n");
print("pass\n"); print("expect 1.2 line 1\n");
checkStep3() || print("expect 3\n"); print("expect 1.2 line 2\n");
print(">>\n");
function checkStep1(){} \ No newline at end of file
function checkStep3(){}
stdErr('it is stderr msg');
function stdErr($msg) {
fwrite(STDERR, "$msg\n");
}
...@@ -6,6 +6,7 @@ timeout=0 ...@@ -6,6 +6,7 @@ timeout=0
cid=5016 cid=5016
pid=0 pid=0
Click on "New Submission" > "For Approval" >> "New Submission - For Approval" page is displayed
Fill in the fields in metadata, Title, Priority, Classification and CC >> Fill in the fields in metadata, Title, Priority, Classification and CC >>
Metadata default: Metadata default:
- Requester (current user) - Requester (current user)
...@@ -13,6 +14,8 @@ Fill in the fields in metadata, Title, Priority, Classification and CC >> ...@@ -13,6 +14,8 @@ Fill in the fields in metadata, Title, Priority, Classification and CC >>
>> >>
''' '''
print(">>\n"); print('''"New Submission - For Approval" page is displayed''')
print('>>')
print('''Metadata default:\n- Requester (current user)\n- Designation (list user's current designation)''') print('''Metadata default:\n- Requester (current user)\n- Designation (list user's current designation)''')
print(">>\n"); print('>>')
\ No newline at end of file \ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册