Allow any old and crufty protocol version
[ghsmtp.git] / osutil-test.cpp
blob9f325721867b2a488abeaf8d443ceb18e7dd72df
1 #include "osutil.hpp"
3 #include <glog/logging.h>
5 int main(int argc, char* argv[])
7 auto const config_path = osutil::get_config_dir();
8 auto const exe_path = osutil::get_exe_path();
9 auto const home_dir = osutil::get_home_dir();
10 auto const hostname = osutil::get_hostname();
12 fs::path argv0 = argv[0];
13 CHECK_EQ(argv0.filename(), exe_path.filename());