diff options
author | Florian Weimer <fweimer@redhat.com> | 2014-06-16 18:00:09 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2014-06-16 18:00:09 +0200 |
commit | a7291117328b413295ae7d1c841e944bc60062d3 (patch) | |
tree | 01828262f0fdb6543b24ab5b26f1053bf7f67a36 /nptl/tst-setuid2.c | |
parent | 3d7c00e3a944e07a74fc1c18e342ed7f38b2d88e (diff) | |
download | glibc-a7291117328b413295ae7d1c841e944bc60062d3.tar.gz glibc-a7291117328b413295ae7d1c841e944bc60062d3.tar.xz glibc-a7291117328b413295ae7d1c841e944bc60062d3.zip |
Fix tautological comparison in non-executed part of tst-setuid2 (BZ #17058)
This part never runs with the current implementation because the setresuid call currently aborts (as intended).
Diffstat (limited to 'nptl/tst-setuid2.c')
-rw-r--r-- | nptl/tst-setuid2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nptl/tst-setuid2.c b/nptl/tst-setuid2.c index 951aeccac5..260aa38eee 100644 --- a/nptl/tst-setuid2.c +++ b/nptl/tst-setuid2.c @@ -135,7 +135,7 @@ do_test (void) /* If we get here, check that the kernel did the right thing. */ run_on_thread (get_thread_ids); - if (ruid != 1001 || euid != 1002 || euid != 1003) + if (ruid != 1001 || euid != 1002 || suid != 1003) FAIL ("unexpected UIDs after setuid: %ld, %ld, %ld", (long) ruid, (long) euid, (long) suid); return 0; |