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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user