test/cmd: Remove unused variable

[ci skip]