diff options
author | Greg Steuck <greg@nest.cx> | 2021-12-24 12:15:50 -0800 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2022-02-12 17:13:55 -0500 |
commit | 744f8a1196d5853d507f2751fd39fe35395684e1 (patch) | |
tree | 5900d970f406a458a4bb7b1239ab77aa5607bcee /testsuite/tests | |
parent | 0e93023eef174262310737004d398bc7a606939a (diff) | |
download | haskell-744f8a1196d5853d507f2751fd39fe35395684e1.tar.gz |
Only check the exit code in derefnull & divbyzero tests on OpenBSD
Diffstat (limited to 'testsuite/tests')
-rw-r--r-- | testsuite/tests/rts/all.T | 4 | ||||
-rw-r--r-- | testsuite/tests/rts/derefnull.stderr-x86_64-unknown-openbsd | 1 | ||||
-rw-r--r-- | testsuite/tests/rts/divbyzero.stderr-x86_64-unknown-openbsd | 1 |
3 files changed, 4 insertions, 2 deletions
diff --git a/testsuite/tests/rts/all.T b/testsuite/tests/rts/all.T index f2098f4122..e59e4c5204 100644 --- a/testsuite/tests/rts/all.T +++ b/testsuite/tests/rts/all.T @@ -33,6 +33,8 @@ test('derefnull', # Linux setups, so just ignore it. As long as we get # the right exit code we're OK. when(opsys('linux'), ignore_stderr), + # On OpenBSD the output varies depending on ulimit, exit code is enough. + when(opsys('openbsd'), ignore_stderr), # SIGBUS on OX X (PPC and x86 only; amd64 gives SEGV) # The output under OS X is too unstable to readily compare when(platform('i386-apple-darwin'), [ignore_stderr, exit_code(139)]), @@ -63,6 +65,8 @@ test('divbyzero', # Linux setups, so just ignore it. As long as we get # the right exit code we're OK. when(opsys('linux'), ignore_stderr), + # On OpenBSD the output varies depending on ulimit, exit code is enough. + when(opsys('openbsd'), ignore_stderr), # PowerPC 64 bit and most likely PowerPC 32 bit processors # do not generate an exception (interrupt) for integer # division by zero but the result is undefined. diff --git a/testsuite/tests/rts/derefnull.stderr-x86_64-unknown-openbsd b/testsuite/tests/rts/derefnull.stderr-x86_64-unknown-openbsd deleted file mode 100644 index d1ecae163f..0000000000 --- a/testsuite/tests/rts/derefnull.stderr-x86_64-unknown-openbsd +++ /dev/null @@ -1 +0,0 @@ -Segmentation fault diff --git a/testsuite/tests/rts/divbyzero.stderr-x86_64-unknown-openbsd b/testsuite/tests/rts/divbyzero.stderr-x86_64-unknown-openbsd deleted file mode 100644 index da6f639f9d..0000000000 --- a/testsuite/tests/rts/divbyzero.stderr-x86_64-unknown-openbsd +++ /dev/null @@ -1 +0,0 @@ -Floating point exception |