exe: test image query against argv, not constants
This commit is contained in:
parent
845c8dd14d
commit
ca7f4b739a
@ -7,9 +7,11 @@
|
|||||||
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
int
|
int
|
||||||
main (int, char**)
|
main (int, char **argv)
|
||||||
{
|
{
|
||||||
util::TAP::logger tap;
|
util::TAP::logger tap;
|
||||||
tap.expect_eq (util::image_path ().stem (), "exe", "identify executable path");
|
|
||||||
|
auto path = util::image_path ();
|
||||||
|
tap.expect_eq (path, argv[0], "identify executable path");
|
||||||
return tap.status ();
|
return tap.status ();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user