scripts/unit-test: check_call_cmd: Remove directory argument

This argument is purely confusing the an end user as all it is used for
is printing out the current directory the command is being run in.
Unfortunately that can actually be mismatched from the real current
directory as the current directoy is not actually set to the passed
argument. Just pull the current working directory directly instead.

Tested:
    Ran through unit tests for an automake project (phosphor-networkd)
    and a recently converted meson project (sdeventplus) to make sure it
    still executes the commands as expected.

Change-Id: Ic1b04c780804ef10264848f1c1c3d759d8ada81b
Signed-off-by: William A. Kennington III <wak@google.com>
1 file changed