Skip to content

Commit 7439c68

Browse files
committed
Fix last commit: remove "core dump"
1 parent cc722d4 commit 7439c68

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

test/regtest/exec.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,5 @@
1616
# along with this program. If not, see <http://www.gnu.org/licenses/>.
1717

1818
trap '' SIGILL SIGTRAP SIGSEGV
19-
ulimit -c 0
2019
"$@"
2120

test/regtest/regtest.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,10 @@ static bool runTest(const struct dirent *test, const std::string &options)
138138
r, out.c_str());
139139
return false;
140140
}
141+
command.clear();
142+
command = "sed -i 's/ (core dumped)//g' ";
143+
command += out;
144+
system(command.c_str());
141145

142146
// Step (3): compare the output
143147
FILE *OUT = fopen(out.c_str(), "r");

0 commit comments

Comments
 (0)