Page:
xfstestsdb xunit gc
Pages
Home
link_xunit_props
messages
tags
testcases
xfstests_runs
xfstestsdb delete
xfstestsdb gc
xfstestsdb gtk
xfstestsdb list
xfstestsdb new
xfstestsdb rename
xfstestsdb show
xfstestsdb tag
xfstestsdb testcase list
xfstestsdb testcase show
xfstestsdb untag
xfstestsdb xunit delete
xfstestsdb xunit gc
xfstestsdb xunit list
xfstestsdb xunit properties
xfstestsdb xunit read
xfstestsdb xunit rename
xunit_properties
xunits
2
xfstestsdb xunit gc
Anna Schumaker edited this page 2023-07-20 17:10:14 -04:00
Table of Contents
The xfstestsdb xunit gc
command removes xunit entries from the database that have no associated testcases.
The --dry-run
option can be used to print items that would be removed, without actually removing them.
Invocation
$ xfstestsdb xunit gc [--dry-run]
Options
Options | Description |
---|---|
--dry-run |
Print the entries that would be removed, but do not remove them |
Exit
Exit Code | Description |
---|---|
0 |
The database has been successfully cleaned up |
Examples
$ xfstestsdb xunit gc
run #1 xunit 'xunit-1' has been deleted
run #1 xunit 'xunit-3' has been deleted
run #3 xunit 'xunit-3' has been deleted
run #4 xunit 'xunit-4' has been deleted
$ xfstestsdb xunit gc --dry-run
run #1 xunit 'xunit-1' would be deleted
run #1 xunit 'xunit-3' would be deleted
run #3 xunit 'xunit-3' would be deleted
run #4 xunit 'xunit-4' would be deleted