exe: add trivial test case

This commit is contained in:
Danny Robson 2016-05-13 15:23:05 +10:00
parent 5c2952561b
commit c3e2e1ae44
2 changed files with 13 additions and 0 deletions

View File

@ -392,6 +392,7 @@ TEST_BIN = \
test/crypto/tea \
test/crypto/xtea \
test/crypto/xxtea \
test/exe \
test/extent \
test/fixed \
test/float \

12
test/exe.cpp Normal file
View File

@ -0,0 +1,12 @@
#include "./exe.hpp"
#include "./tap.hpp"
#include <iostream>
int
main (void)
{
util::TAP::logger tap;
tap.expect_eq (util::image_path ().stem (), "exe", "identify executable path");
return tap.status ();
}