Fix build failure.
error: declaration shadows a variable in the global scope [-Werror,-Wshadow]
Apply recent changs in libarvhie/test/main.c to {tar,cpio,cat}/test/main.c for keeping maintenacebility.
Add bsdcat_test.log and bsdcat_test.trs to .gitignore.