joyent/node-triton#219 test: Fix test suite to not use non-existant triton img rm -w
wait option
This commit is contained in:
parent
546abee318
commit
c0ad6bb378
@ -468,7 +468,7 @@ function deleteTestImg(t, imgNameOrId, cb) {
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
var imgToRm = JSON.parse(stdout);
|
var imgToRm = JSON.parse(stdout);
|
||||||
safeTriton(t, ['img', 'rm', '-w', imgToRm.id], function onRm() {
|
safeTriton(t, ['img', 'rm', '-f', imgToRm.id], function onRm() {
|
||||||
t.ok(true, 'deleted img ' + imgToRm.id);
|
t.ok(true, 'deleted img ' + imgToRm.id);
|
||||||
cb();
|
cb();
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user