|
From: <sv...@va...> - 2005-11-02 13:58:44
|
Author: tom
Date: 2005-11-02 13:58:39 +0000 (Wed, 02 Nov 2005)
New Revision: 4984
Log:
Removed memcheck/tests/weirdioctl as it is badly broken and seems
to serve no useful purpose.
Removed:
trunk/memcheck/tests/weirdioctl.c
trunk/memcheck/tests/weirdioctl.stderr.exp
trunk/memcheck/tests/weirdioctl.stdout.exp
trunk/memcheck/tests/weirdioctl.vgtest
Modified:
trunk/memcheck/tests/Makefile.am
Modified: trunk/memcheck/tests/Makefile.am
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/memcheck/tests/Makefile.am 2005-11-02 13:02:40 UTC (rev 4983)
+++ trunk/memcheck/tests/Makefile.am 2005-11-02 13:58:39 UTC (rev 4984)
@@ -84,7 +84,6 @@
suppfree.stderr.exp suppfree.vgtest \
toobig-allocs.stderr.exp toobig-allocs.vgtest \
trivialleak.stderr.exp trivialleak.vgtest \
- weirdioctl.stderr.exp weirdioctl.stdout.exp weirdioctl.vgtest \
metadata.stderr.exp metadata.stdout.exp metadata.vgtest-HIDING \
vgtest_ume.stderr.exp vgtest_ume.disabled \
writev.stderr.exp writev.stderr.exp2 writev.stderr.exp3 writev.vgtest \
@@ -114,7 +113,7 @@
realloc1 realloc2 realloc3 \
sigaltstack signal2 sigprocmask sigkill \
stack_changes strchr str_tester supp_unknown supp1 supp2 suppfree \
- trivialleak weirdioctl \
+ trivialleak \
mismatches new_override metadata \
xml1 \
writev zeropage
Deleted: trunk/memcheck/tests/weirdioctl.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/memcheck/tests/weirdioctl.c 2005-11-02 13:02:40 UTC (rev 4983)
+++ trunk/memcheck/tests/weirdioctl.c 2005-11-02 13:58:39 UTC (rev 4984)
@@ -1,47 +0,0 @@
-
-/* A program which sets a readable fd to have a timeout, and therefore
- needs --simulation-hints=3Dioctl-VTIME in order to run without
- blocking.=20
-
- [Nb: no longer true, since the ioctl-VTIME hack no longer exists]
-*/
-
-#include <stdio.h>
-#include <sys/ioctl.h>
-#include <termio.h>
-
-int main ( void )
-{
- int c, i;
- int res;
- struct termio tty, oldtty;
-
- /**
- ** Save the old tty settings, and get rid of echo
- ** for the new tty settings
- **/
- ioctl(0, TCGETA, &oldtty);
- tty =3D oldtty;
- tty.c_lflag &=3D ~(ICANON|ECHO|ECHOE|ECHOK|ECHONL);
- tty.c_cc[VMIN] =3D 0;
- tty.c_cc[VTIME] =3D 5;
- res =3D ioctl(0, TCSETA, &tty);
- printf("first ioctl returned %d\n", res);
-
- /**
- ** Now do whatever stuff you want non-echoed
- **/
- i =3D 0;
- while (i++ < 50) {
- c =3D getchar();
- printf("got %d\n", c);
- }
-
- /**
- ** Now reset the old settings
- **/
- res =3D ioctl(0, TCSETA, &oldtty);
- printf("second ioctl returned %d\n", res);
-
-return 0;
-}
Deleted: trunk/memcheck/tests/weirdioctl.stderr.exp
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/memcheck/tests/weirdioctl.stderr.exp 2005-11-02 13:02:40 UTC (r=
ev 4983)
+++ trunk/memcheck/tests/weirdioctl.stderr.exp 2005-11-02 13:58:39 UTC (r=
ev 4984)
@@ -1,5 +0,0 @@
-Syscall param ioctl(TCSET{A,AW,AF}) points to uninitialised byte(s)
- at 0x........: ioctl (in /...libc...)
- by 0x........: __libc_start_main (in /...libc...)
- by 0x........: ...
- Address 0x........ is on thread 1's stack
Deleted: trunk/memcheck/tests/weirdioctl.stdout.exp
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/memcheck/tests/weirdioctl.stdout.exp 2005-11-02 13:02:40 UTC (r=
ev 4983)
+++ trunk/memcheck/tests/weirdioctl.stdout.exp 2005-11-02 13:58:39 UTC (r=
ev 4984)
@@ -1,52 +0,0 @@
-first ioctl returned -1
-got 10
-got 47
-got 42
-got 32
-got 65
-got 32
-got 112
-got 114
-got 111
-got 103
-got 114
-got 97
-got 109
-got 32
-got 119
-got 104
-got 105
-got 99
-got 104
-got 32
-got 115
-got 101
-got 116
-got 115
-got 32
-got 97
-got 32
-got 114
-got 101
-got 97
-got 100
-got 97
-got 98
-got 108
-got 101
-got 32
-got 102
-got 100
-got 32
-got 116
-got 111
-got 32
-got 104
-got 97
-got 118
-got 101
-got 32
-got 97
-got 32
-got 116
-second ioctl returned -1
Deleted: trunk/memcheck/tests/weirdioctl.vgtest
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/memcheck/tests/weirdioctl.vgtest 2005-11-02 13:02:40 UTC (rev 4=
983)
+++ trunk/memcheck/tests/weirdioctl.vgtest 2005-11-02 13:58:39 UTC (rev 4=
984)
@@ -1,3 +0,0 @@
-prog: weirdioctl
-vgopts: -q
-args: < weirdioctl.c
|