summaryrefslogtreecommitdiffstats
path: root/tests/data/app
diff options
context:
space:
mode:
Diffstat (limited to 'tests/data/app')
-rw-r--r--tests/data/app/expected-info.json16
-rw-r--r--tests/data/app/valid-info.xml2
2 files changed, 17 insertions, 1 deletions
diff --git a/tests/data/app/expected-info.json b/tests/data/app/expected-info.json
index 6da69fb9ad7..8ab6e48ac6d 100644
--- a/tests/data/app/expected-info.json
+++ b/tests/data/app/expected-info.json
@@ -32,6 +32,20 @@
"@value": "sqlite"},
"mysql"
]
- }
+ },
+ "command": [
+ {
+ "@attributes" : {
+ "os": "linux"
+ },
+ "@value": "grep"
+ },
+ {
+ "@attributes" : {
+ "os": "windows"
+ },
+ "@value": "notepad.exe"
+ }
+ ]
}
}
diff --git a/tests/data/app/valid-info.xml b/tests/data/app/valid-info.xml
index cdb688c6b3f..354a39832fb 100644
--- a/tests/data/app/valid-info.xml
+++ b/tests/data/app/valid-info.xml
@@ -25,5 +25,7 @@
<database min-version="3.0">sqlite</database>
<database>mysql</database>
</databases>
+ <command os="linux">grep</command>
+ <command os="windows">notepad.exe</command>
</dependencies>
</info>