removed output checks from data model and from implementation.

prepared to implement STD{IN,OUT,ERR} piping for subprocess execution.  Hoping to maintain compatibility with curses dialogs.
This commit is contained in:
Phanes
2017-12-01 01:13:30 -05:00
parent 3bc8908d65
commit 8545264a92
5 changed files with 32 additions and 46 deletions

View File

@@ -2,36 +2,32 @@
"units": [
{
"name": "independent test 1",
"target": "/bin/pwd",
"output": "pass",
"rectifier": "/bin/pwd",
"target": "/usr/bin/true",
"rectifier": "/usr/bin/true",
"active": true,
"required": true,
"rectify": true
},
{
"name": "independent test 2",
"target": "/bin/pwd",
"output": "pass",
"rectifier": "/bin/pwd",
"target": "/usr/bin/false",
"rectifier": "/usr/bin/true",
"active": true,
"required": true,
"rectify": true
"rectify": false
},
{
"name": "A DEFINITION THAT IS NOT USED",
"target": "/bin/pwd",
"output": "pass",
"rectifier": "/bin/pwd",
"target": "/usr/bin/false",
"rectifier": "/usr/bin/true",
"active": true,
"required": true,
"rectify": true
"rectify": false
},
{
"name": "dependent test",
"target": "/home/phanes/tests/test-script-pass.sh",
"output": "pass",
"rectifier": "/home/phanes/tests/test-script-rectifier.sh",
"target": "/usr/bin/false",
"rectifier": "/usr/bin/true",
"active": true,
"required": true,
"rectify": false