fix multi apps
This commit is contained in:
@@ -30,20 +30,25 @@
|
||||
"chrome"
|
||||
],
|
||||
"evaluator": {
|
||||
"func": "is_extension_installed",
|
||||
"result": {
|
||||
"type": "vm_command_line",
|
||||
"command": [
|
||||
"ls",
|
||||
"/home/user/"
|
||||
]
|
||||
},
|
||||
"expected": {
|
||||
"type": "rule",
|
||||
"rules": {
|
||||
"type": "contain",
|
||||
"expected": "instructor-embedding"
|
||||
"postconfig": [
|
||||
{
|
||||
"type": "execute",
|
||||
"parameters": {
|
||||
"command": "cd /home/user && ls -R instructor-embedding/ > log.txt",
|
||||
"shell": true
|
||||
}
|
||||
}
|
||||
],
|
||||
"func": "compare_text_file",
|
||||
"expected": {
|
||||
"type": "cloud_file",
|
||||
"path": "https://drive.usercontent.google.com/download?id=1aWWgwZFhsT1ByRbZkofO1Hf9zWf2Df7S&export=download&authuser=0&confirm=t&uuid=b3643d9a-5e1f-4eaf-9a78-887aebda7cee&at=APZUnTU3vX5b_NQpZW8q3nlbIo7p:1709898581495",
|
||||
"dest": "log_Gold.txt"
|
||||
},
|
||||
"result": {
|
||||
"type": "vm_file",
|
||||
"path": "/home/user/log.txt",
|
||||
"dest": "log.txt"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user