libcruft-util/test/exe.cpp

18 lines
332 B
C++
Raw Normal View History

2016-05-13 15:23:05 +10:00
#include "./tap.hpp"
2016-10-10 16:23:07 +11:00
#include "./exe.hpp"
2016-05-13 15:23:05 +10:00
#include <iostream>
2016-10-10 16:23:07 +11:00
///////////////////////////////////////////////////////////////////////////////
2016-05-13 15:23:05 +10:00
int
main (int, char **argv)
2016-05-13 15:23:05 +10:00
{
2016-10-10 16:23:07 +11:00
util::TAP::logger tap;
auto path = util::image_path ();
tap.expect_eq (path, argv[0], "identify executable path");
2016-10-10 16:23:07 +11:00
return tap.status ();
2016-05-13 15:23:05 +10:00
}