Skip to content

T20494 fails on OpenBSD

Summary

T20494 destr order on OpenBSD doesn't match the recorded one.

Steps to reproduce

$ TEST="T20494" validate --testsuite-only
...
diff -uw "/tmp/ghctest-zsnew51z/test   spaces/testsuite/tests/rts/linker/T20494.run/T20494.stdout.normalised" "/tmp/ghctest-zsnew51z/test   spaces/testsuite/tests/rts/linker/T20494.run/T20494.run.stdout.normalised"< 
--- /tmp/ghctest-zsnew51z/test   spaces/testsuite/tests/rts/linker/T20494.run/T20494.stdout.normalised	Wed Jul 20 23:14:38 2022
+++ /tmp/ghctest-zsnew51z/test   spaces/testsuite/tests/rts/linker/T20494.run/T20494.run.stdout.normalised	Wed Jul 20 23:14:38 2022
@@ -1,5 +1,5 @@
 constr a
 constr b
 hello
-destr b
 destr a
+destr b
*** unexpected failure for T20494(normal)

Expected behavior

Test passes.

Environment

Optional:

  • Operating System: OpenBSD
  • System Architecture: amd64
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information