diff --git a/testsuite/tests/profiling/should_run/all.T b/testsuite/tests/profiling/should_run/all.T
index 624b2deca03ba756018218dddf20e56874118d80..8880fc4bf9f2ad1266945f4c57ad0ccf2a632be8 100644
--- a/testsuite/tests/profiling/should_run/all.T
+++ b/testsuite/tests/profiling/should_run/all.T
@@ -145,11 +145,13 @@ test('T7275', test_opts_dot_prof, makefile_test, [])
 test('callstack001',
      # unoptimised results are different w.r.t. CAF attribution
      [test_opts_dot_prof # produces a different stack
+     ,normalise_fun(lambda s: re.sub(r"(?<!('|‘))\\", '/', s).replace("//","/"))
      ], compile_and_run,
      ['-fprof-auto-calls -fno-full-laziness -fno-state-hack'])
 
 test('callstack002',
      [ test_opts_dot_prof # produces a different stack
+     , normalise_fun(lambda s: re.sub(r"(?<!('|‘))\\", '/', s))
      ],
      compile_and_run,
      ['-fprof-auto-calls -fno-full-laziness -fno-state-hack'])