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

fix issue for multi-line script parser

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