https://bugs.kde.org/show_bug.cgi?id=487055

--- Comment #1 from Paul Floyd <pjfl...@wanadoo.fr> ---
Out by one, it was 'nice' not 'ftime'. This patch works form me

--- a/memcheck/tests/x86-linux/scalar.c
+++ b/memcheck/tests/x86-linux/scalar.c
@@ -32,6 +32,11 @@ int main(void)
    long  x0  = px[0];
    long  res;

+   int in_docker = 0;
+   if (access("/.dockerenv", F_OK) == 0) {
+      in_docker = 1;
+   }
+
    // All __NR_xxx numbers are taken from x86

    // __NR_restart_syscall 0  // XXX: not yet handled, perhaps should be...
@@ -190,7 +195,12 @@ int main(void)

    // __NR_nice 34
    GO(__NR_nice, "1s 0m");
-   SY(__NR_nice, x0); SUCC;
+   SY(__NR_nice, x0);
+   if (in_docker) {
+      FAIL;
+   } else {
+      SUCC;
+   }

    // __NR_ftime 35
    GO(__NR_ftime, "ni");

(also need to update the expected).

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to