6 xfstestsdb xunit rename
Anna edited this page 2023-02-07 14:16:45 -05:00

The xfstestsdb xunit rename command renames an xunit entry in the xunits table.

Invocation

$ xfstestsdb xunit rename <runid> <old name> <new name>

Arguments

Argument Description
<runid> The runid returned by xfstestsdb new
<old name> The old name of the xunit entry
<new name> The new name of the xunit entry

Exit

Exit Code Description
0 The xunit entry was successfully renamed
EEXIST The specified name already exists in the database
ENOENT The requested run or name was not found in the database

Examples

$ xfstestsdb xunit rename 3 result newname
renamed run #3 xunit 'result' to 'newname'
$ xfstestsdb xunit rename run 42 result result2
error: run #42 xunit 'result2' already exists