X-Git-Url: https://git.llucax.com/software/mutest.git/blobdiff_plain/cb606e44a187f9ece06dfd134e9ded8cdcf8f1b8..7eebf98ef024cd90464022597680c376eb475098:/mkmutest diff --git a/mkmutest b/mkmutest index 32c0e5a..8806987 100755 --- a/mkmutest +++ b/mkmutest @@ -34,7 +34,7 @@ for file in "$@" do pr_file=`echo "$file" | sed 's/\"/\\\\\"/g'` suite=`basename "$file" .o | sed 's/\"/\\\\\"/g'` - symbols=`nm -p "$file" | egrep '^[[:xdigit:]]{8} T mu_\w+$' | cut -c12-` + symbols=`nm "$file" | egrep '^[[:xdigit:]]+ T mu_\w+$' | cut -d' ' -f3` tests=`echo "$symbols" | egrep '^mu_test'` inits=`echo "$symbols" | egrep '^mu_init'` terms=`echo "$symbols" | egrep '^mu_term'`