ltp: test id usually same as test filename without suffix

Perform this script under ltp root dir.

 $ cat fix_tid.sh
 #!/bin/bash

 for file in `find -name *.c`; do
 	value=$(echo $(basename ${file%%.c}));
 	sed -i "/\.tid/s/\".*\"/\"$value\"/g" $file
 done

Signed-off-by: Li Wang <liwang@redhat.com>
4 files changed