1
0
mirror of https://github.com/falk-werner/webfuse-provider synced 2026-03-02 04:09:18 +00:00

replaces death tests by popen

This commit is contained in:
Falk Werner
2020-04-05 20:11:07 +02:00
parent ac855a73c8
commit 7cea9828cb
7 changed files with 418 additions and 100 deletions

View File

@@ -1,15 +0,0 @@
#include "webfuse/utils/die_if.hpp"
#include <cstdlib>
namespace webfuse_test
{
void die_if(bool expression)
{
if (expression)
{
exit(EXIT_FAILURE);
}
}
}

View File

@@ -1,11 +0,0 @@
#ifndef WF_TEST_DIE_IF_HPP
#define WF_TEST_DIE_IF_HPP
namespace webfuse_test
{
extern void die_if(bool expression);
}
#endif