The xfstestsdb delete
command deletes a row from the xfstests_runs database table. This command makes use of sqlite3 triggers to delete related xunit and testcase information from the sqlite3 database.
This command will print an error if the runid provided by the user has not been specified or doesn't exist.
Invocation
$ xfstestsdb delete <runid>
Arguments
Argument |
Description |
<runid> |
The runid returned by xfstestsdb new |
Exit
Exit Code |
Description |
0 |
The requested row was deleted |
ENOENT |
The requested row was not found |
Examples
$ xfstestsdb delete 42
run #42 has been deleted
$ xfstestsdb delete 42
error: run #42 does not exist