commit | 2374d5630a77043c8d1509e9b97e9810049eaabc | [log] [tgz] |
---|---|---|
author | Li Wang <liwang@redhat.com> | Mon Mar 13 19:35:26 2017 +0800 |
committer | Cyril Hrubis <chrubis@suse.cz> | Mon Mar 13 14:26:32 2017 +0100 |
tree | 8797b7c5d5d3b4cd1f3c37998cce8d610d4b35c5 | |
parent | ba782e46ef8c670bd379abbf80ded49108c0bacc [diff] |
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>