3 xfstestsdb rename
Anna edited this page 2023-02-07 14:15:02 -05:00

The xfstestsdb xunit rename command changes the device name of a run entry in the xfstests_runs table.

Invocation

$ xfstestsdb rename <runid> <new name>

Arguments

Argument Description
<runid> The runid of the entry to be renamed
<new name> The new device name for the run entry

Exit

Exit Code Description
0 The device was successfully renamed
ENOENT The requested run was not found in the database

Examples

$ xfstestsdb rename 3 newname
renamed run #3 from 'oldname' to 'newname'
$ xfstestsdb rename 42 noname
error: run #42 does not exist