From 6a04b0abd728da5211e6702b1d42aef95c02d8da Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Sun, 18 Jun 2017 18:56:08 +0000 Subject: Fix intercept of SYS_open on platforms that only have SYS_openat (e.g. arm64) --- test/raidfile/testraidfile.cpp | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'test/raidfile/testraidfile.cpp') diff --git a/test/raidfile/testraidfile.cpp b/test/raidfile/testraidfile.cpp index c8150387..d771f23d 100644 --- a/test/raidfile/testraidfile.cpp +++ b/test/raidfile/testraidfile.cpp @@ -25,6 +25,7 @@ #include "RaidFileException.h" #include "RaidFileRead.h" #include "Guards.h" +#include "intercept.h" #include "MemLeakFindOn.h" @@ -37,14 +38,6 @@ #define TRF_CAN_INTERCEPT #endif - -#ifdef TRF_CAN_INTERCEPT -// function in intercept.cpp for setting up errors -void intercept_setup_error(const char *filename, unsigned int errorafter, int errortoreturn, int syscalltoerror); -bool intercept_triggered(); -void intercept_clear_setup(); -#endif - // Nice random data for testing written files class R250 { public: -- cgit v1.2.3