From: Paul Floyd Date: Sat, 27 Dec 2025 17:56:39 +0000 (+0100) Subject: Regtest: another test that needs to increase the value for an 'unused' fd. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=48ff6038d0609f0133bd46b258c335205579a11e;p=thirdparty%2Fvalgrind.git Regtest: another test that needs to increase the value for an 'unused' fd. --- diff --git a/none/tests/track_bad.c b/none/tests/track_bad.c index b1674d648..721702e50 100644 --- a/none/tests/track_bad.c +++ b/none/tests/track_bad.c @@ -17,7 +17,7 @@ int main(void) write(fd, string, 4); /* Never created. */ - write(7, string, 4); + write(10, string, 4); /* Invalid. */ write(-7, string, 4); diff --git a/none/tests/track_bad.stderr.exp b/none/tests/track_bad.stderr.exp index 620a6b8d2..71c65c5ff 100644 --- a/none/tests/track_bad.stderr.exp +++ b/none/tests/track_bad.stderr.exp @@ -8,7 +8,7 @@ File descriptor was closed already Originally opened at 0x........: dup (in /...libc...) by 0x........: main -File descriptor 7 was never created +File descriptor 10 was never created at 0x........: write (in /...libc...) by 0x........: main File descriptor -7 Invalid file descriptor