diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2016-02-08 09:27:14 +1100 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2016-02-08 09:27:14 +1100 |
commit | 589d17dbfa6b5aa83abc9c3b14b61ed366a75417 (patch) | |
tree | 46e81cc93d1756a05c1f50e07980addee98c71c1 /tools | |
parent | 1dfb50585c091ee1d4bc6beb105967b10fb46d26 (diff) |
tools/mvtest: call out to the correct group sort program
mvtest should call the actual name of the sort-group program.
Fix a cut-paste error in finding the destination group file.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/mvtest | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/mvtest b/tools/mvtest index af601d6f..20bc23ea 100755 --- a/tools/mvtest +++ b/tools/mvtest @@ -33,7 +33,7 @@ sgroup="$(basename "$(dirname "tests/${src}")")" dgroup="$(basename "$(dirname "tests/${dest}")")" sgroupfile="tests/${sgroup}/group" -dgroupfile="tests/${sgroup}/group" +dgroupfile="tests/${dgroup}/group" git mv "tests/${src}" "tests/${dest}" git mv "tests/${src}.out" "tests/${dest}.out" @@ -47,7 +47,7 @@ newgrpline="$(echo "${grpline}" | sed -e "s/^${sid} /${did} /g")" sed -e "/^${sid}.*$/d" -i "${sgroupfile}" cp "${dgroupfile}" "${dgroupfile}.new" append "${dgroupfile}.new" "${newgrpline}" -"${dir}/sort-group.py" "${dgroupfile}.new" +"${dir}/sort-group" "${dgroupfile}.new" mv "${dgroupfile}.new" "${dgroupfile}" echo "Moved \"${src}\" to \"${dest}\"." |