Skip to contentSkip to conversation

syscalls/lseek01, 06: cleanup && convert to new API

PATCH Superseded Xiao Yang 2 participants 8 messages Jun 19, 2017 – Jun 20, 2017

v1 of 4 Superseded Latest is v4 →

lore
Share & tools
lore

Xiao Yang

author
#0 lore raw

PATCH 1/2 syscalls/lseek01, 06: cleanup && convert to new API

1) merge lseek06 into lseek01
2) add tests for SEEK_CUR and SEEK_END

---
 runtest/ltplite                           |   1 -
 runtest/stress.part3                      |   1 -
 runtest/syscalls                          |   1 -
 testcases/kernel/syscalls/.gitignore      |   1 -
 testcases/kernel/syscalls/lseek/lseek01.c | 264 ++++++++----------------------
 testcases/kernel/syscalls/lseek/lseek06.c | 202 -----------------------
 6 files changed, 71 insertions(+), 399 deletions(-)
 delete mode 100644 testcases/kernel/syscalls/lseek/lseek06.c
runtest/ltplite +0 -1
index 909bbdb..7904117 100644
@@ -410,7 +410,6 @@ lseek02 lseek02
 lseek03 lseek03
 lseek04 lseek04
 lseek05 lseek05
-lseek06 lseek06
 lseek07 lseek07
 lseek08 lseek08
 lseek09 lseek09
runtest/stress.part3 +0 -1
index d5db1c2..42c2b0e 100644
@@ -336,7 +336,6 @@ lseek02 lseek02
 lseek03 lseek03
 lseek04 lseek04
 lseek05 lseek05
-lseek06 lseek06
 lseek07 lseek07
 lseek08 lseek08
 lseek09 lseek09
runtest/syscalls +0 -1
index 8754e3e..fcef347 100644
@@ -552,7 +552,6 @@ lseek02 lseek02
 lseek03 lseek03
 lseek04 lseek04
 lseek05 lseek05
-lseek06 lseek06
 lseek07 lseek07
 lseek08 lseek08
 lseek09 lseek09
testcases/kernel/syscalls/.gitignore +0 -1
index d8a38c0..5b8e5b4 100644
@@ -503,7 +503,6 @@
 /lseek/lseek03
 /lseek/lseek04
 /lseek/lseek05
-/lseek/lseek06
 /lseek/lseek07
 /lseek/lseek08
 /lseek/lseek09
testcases/kernel/syscalls/lseek/lseek01.c +71 -193

290 lines not on this page · raw message

testcases/kernel/syscalls/lseek/lseek06.c deleted +0 -202

202 lines not on this page · raw message

Signature · 1 line
1.8.3.1
author
#1 lore raw

PATCH 2/2 syscalls/lseek0[2-5]: cleanup && convert to new API

1) merge lseek03,04,05 into lseek02
2) add combinations of invalid parameters

---
 runtest/ltplite                           |   3 -
 runtest/stress.part3                      |   3 -
 runtest/syscalls                          |   3 -
 testcases/kernel/syscalls/.gitignore      |   3 -
 testcases/kernel/syscalls/lseek/lseek02.c | 246 ++++++++++--------------------
 testcases/kernel/syscalls/lseek/lseek03.c | 123 ---------------
 testcases/kernel/syscalls/lseek/lseek04.c | 222 ---------------------------
 testcases/kernel/syscalls/lseek/lseek05.c | 219 --------------------------
 8 files changed, 78 insertions(+), 744 deletions(-)
 delete mode 100644 testcases/kernel/syscalls/lseek/lseek03.c
 delete mode 100644 testcases/kernel/syscalls/lseek/lseek04.c
 delete mode 100644 testcases/kernel/syscalls/lseek/lseek05.c
runtest/ltplite +0 -3
index 7904117..2826514 100644
@@ -407,9 +407,6 @@ llseek03 llseek03
 
 lseek01 lseek01
 lseek02 lseek02
-lseek03 lseek03
-lseek04 lseek04
-lseek05 lseek05
 lseek07 lseek07
 lseek08 lseek08
 lseek09 lseek09
runtest/stress.part3 +0 -3
index 42c2b0e..67548dc 100644
@@ -333,9 +333,6 @@ llseek03 llseek03
 
 lseek01 lseek01
 lseek02 lseek02
-lseek03 lseek03
-lseek04 lseek04
-lseek05 lseek05
 lseek07 lseek07
 lseek08 lseek08
 lseek09 lseek09
runtest/syscalls +0 -3
index fcef347..169bfcd 100644
@@ -549,9 +549,6 @@ llseek03 llseek03
 
 lseek01 lseek01
 lseek02 lseek02
-lseek03 lseek03
-lseek04 lseek04
-lseek05 lseek05
 lseek07 lseek07
 lseek08 lseek08
 lseek09 lseek09
testcases/kernel/syscalls/.gitignore +0 -3
index 5b8e5b4..9ea4ed8 100644
@@ -500,9 +500,6 @@
 /llseek/llseek03
 /lseek/lseek01
 /lseek/lseek02
-/lseek/lseek03
-/lseek/lseek04
-/lseek/lseek05
 /lseek/lseek07
 /lseek/lseek08
 /lseek/lseek09
testcases/kernel/syscalls/lseek/lseek02.c +78 -168

272 lines not on this page · raw message

testcases/kernel/syscalls/lseek/lseek03.c deleted +0 -123

123 lines not on this page · raw message

testcases/kernel/syscalls/lseek/lseek04.c deleted +0 -222

222 lines not on this page · raw message

testcases/kernel/syscalls/lseek/lseek05.c deleted +0 -219

219 lines not on this page · raw message

Signature · 1 line
1.8.3.1
#2 lore raw

PATCH 2/2 syscalls/lseek0[2-5]: cleanup && convert to new API

Hi!

Quoted 90 lines
testcases/kernel/syscalls/lseek/lseek02.c +42 -44
+#include <stdio.h>
+#include "tst_test.h"
+
+static char fname[255], pname[255];
+static int bad_fd = -1;
+static int fd, pfd;
+static int pfds[2];
+
+static struct tcase {
+	int *fd;
+	int whence;
+	int exp_err;
+} tcases[] = {
+	{&bad_fd, SEEK_SET, EBADF},
+	{&bad_fd, SEEK_CUR, EBADF},
+	{&bad_fd, SEEK_END, EBADF},
+	{&fd, 5, EINVAL},
+	{&fd, -1, EINVAL},
+	{&fd, 7, EINVAL},
+	{&pfd, SEEK_SET, ESPIPE},
+	{&pfd, SEEK_CUR, ESPIPE},
+	{&pfd, SEEK_END, ESPIPE},
+	{&pfds[0], SEEK_SET, ESPIPE},
+	{&pfds[0], SEEK_CUR, ESPIPE},
+	{&pfds[0], SEEK_END, ESPIPE},
+};
+
+static void verify_lseek(unsigned int n)
 {
-	int lc;
-
-    /***************************************************************
-     * parse standard options
-     ***************************************************************/
-	tst_parse_opts(ac, av, NULL, NULL);
-
-    /***************************************************************
-     * perform global setup for test
-     ***************************************************************/
-	setup();
-
-    /***************************************************************
-     * check looping state if -c option given
-     ***************************************************************/
-	for (lc = 0; TEST_LOOPING(lc); lc++) {
-
-		tst_count = 0;
-
-		/*
-		 *  Call lseek(2)
-		 */
-		TEST(lseek(-1, (long)1, SEEK_SET));
-
-		/* check return code */
-		if (TEST_RETURN == -1) {
-			if (TEST_ERRNO == EBADF)
-
-				tst_resm(TPASS,
-					 "lseek(-1, 1, SEEK_SET) Failed, errno=%d : %s",
-					 TEST_ERRNO,
-					 strerror(TEST_ERRNO));
-			else
-				tst_resm(TFAIL,
-					 "lseek(-1, 1, SEEK_SET) Failed, errno=%d : %s, expected %d(EBADF)",
-					 TEST_ERRNO,
-					 strerror(TEST_ERRNO), EBADF);
-		} else {
-
-			tst_resm(TFAIL, "lseek(-1, 1, SEEK_SET) returned %ld",
-				 TEST_RETURN);
-		}
+	struct tcase *tc = &tcases[n];
 
+	TEST(lseek(*tc->fd, (off_t) 1, tc->whence));
+	if (TEST_RETURN != (off_t) -1) {
+		tst_res(TFAIL, "lseek(%d, 1, %d) succeeded unexpectedly",
+			*tc->fd, tc->whence);
+			return;
 	}
 
-	cleanup();
-	tst_exit();
+	if (TEST_ERRNO == tc->exp_err) {
+		tst_res(TPASS | TTERRNO, "lseek(%d, 1, %d) failed as expected",
+			*tc->fd, tc->whence);
+	} else {
+		tst_res(TFAIL | TTERRNO, "lseek(%d, 1, %d) failed "
+			"unexpectedly, expected %s", *tc->fd, tc->whence,
+			tst_strerrno(tc->exp_err));
+	}

testcases/kernel/syscalls/lseek/lseek02.c line 86

Quoted 10 lines
testcases/kernel/syscalls/lseek/lseek02.c +3 -4
 }
 
-/***************************************************************
- * setup() - performs all ONE TIME setup for this test.
- ***************************************************************/
-void setup(void)
+static void setup(void)
 {
+	sprintf(fname, "tfile_%d", getpid());
+	sprintf(pname, "tpipe_%d", getpid());

Well there is no need to "randomize" the file names since the test has it's own temporary directory...

testcases/kernel/syscalls/lseek/lseek02.c line 92

Quoted 11 lines
testcases/kernel/syscalls/lseek/lseek02.c +4 -6
-	tst_sig(NOFORK, DEF_HANDLER, cleanup);
-
-	TEST_PAUSE;
-
-	tst_tmpdir();
-
+	fd = SAFE_OPEN(fname, O_RDWR | O_CREAT, 0777);
+	SAFE_MKFIFO(pname, 0777);
+	pfd = SAFE_OPEN(pname, O_RDWR, 0777);
+	SAFE_PIPE(pfds);
 }

Otherwise it looks good.

Signature · 2 lines
Cyril Hrubis
[email protected]
#3 lore raw

PATCH 1/2 syscalls/lseek01, 06: cleanup && convert to new API

In reply to Xiao Yang

Hi!

testcases/kernel/syscalls/lseek/lseek01.c line 39

Quoted 9 lines
testcases/kernel/syscalls/lseek/lseek01.c +9 -0
+static int fd;
+static struct tcase {
+	off_t off;
+	int whence;
+	off_t exp_off;
+	char *exp_data;
+} tcases[] = {
+	{4, SEEK_SET, 4, "efg"},
+	{-2, SEEK_CUR, 5, "fg"},

This part actually depends on the fact that the file has been seeked and read in the previous test. I wonder if it would be less confusing if we reset the offset to a defined position (start of the file) before the the test.

Quoted 61 lines
testcases/kernel/syscalls/lseek/lseek01.c +18 -38
+	{-4, SEEK_END, 3, "defg"},
+};
+
+static void verify_lseek(unsigned int n)
 {
-	int lc;
-
-	int ind;
-	int offset;
+	char read_buf[64];
+	struct tcase *tc = &tcases[n];
 
-    /***************************************************************
-     * parse standard options
-     ***************************************************************/
-	tst_parse_opts(ac, av, NULL, NULL);
+	memset(read_buf, 0, sizeof(read_buf));
 
-    /***************************************************************
-     * perform global setup for test
-     ***************************************************************/
-	setup();
-
-    /***************************************************************
-     * check looping state if -c option given
-     ***************************************************************/
-	for (lc = 0; TEST_LOOPING(lc); lc++) {
-
-		tst_count = 0;
-
-		offset = (lc % 100) * 4096;	/* max size is 100 blocks */
-
-		for (ind = 0; Whence[ind] >= 0; ind++) {
+	TEST(lseek(fd, tc->off, tc->whence));
+	if (TEST_RETURN == (off_t) -1) {
+		tst_res(TFAIL | TTERRNO, "lseek(%d, %ld, %d) failed", fd,
+			tc->off, tc->whence);
+		return;
+	}
 
-			/*
-			 *  Call lseek(2)
-			 */
-			TEST(lseek(Fd, (long)offset, Whence[ind]));
+	if (TEST_RETURN != tc->exp_off) {
+		tst_res(TFAIL, "lseek(%d, %ld, %d) returned %ld, expected %ld",
+			fd, tc->off, tc->whence, TEST_RETURN, tc->exp_off);
+		return;
+	}
 
-			/* check return code */
-			if (TEST_RETURN == -1) {
-				tst_resm(TFAIL,
-					 "lseek(%s, %d, 0) Failed, errno=%d : %s",
-					 Fname, offset, TEST_ERRNO,
-					 strerror(TEST_ERRNO));
-			} else {
-				tst_resm(TPASS,
-					 "lseek(%s, %d, %d) returned %ld",
-					 Fname, offset, Whence[ind],
-					 TEST_RETURN);

testcases/kernel/syscalls/lseek/lseek01.c line 70

Quoted 10 lines
testcases/kernel/syscalls/lseek/lseek01.c +7 -2
-			}
-		}
+	SAFE_READ(0, fd, &read_buf, sizeof(read_buf));
 
+	if (strcmp(read_buf, tc->exp_data)) {
+		tst_res(TFAIL, "lseek(%d, %ld, %d) read incorrect data", fd,
+			tc->off, tc->whence);
+	} else {
+		tst_res(TPASS, "lseek(%d, %ld, %d) read correct data", fd,
+			tc->off, tc->whence);

I guess that the fd here is not that useful and it may be a bit better to to translate the whence to its name, but that is very minor.

Quoted 6 lines
testcases/kernel/syscalls/lseek/lseek01.c +0 -3
 	}
-
-	cleanup();
-	tst_exit();
 }
 

testcases/kernel/syscalls/lseek/lseek01.c line 78

Quoted 10 lines
testcases/kernel/syscalls/lseek/lseek01.c +3 -5
-/***************************************************************
- * setup() - performs all ONE TIME setup for this test.
- ***************************************************************/
-void setup(void)
+static void setup(void)
 {
+	char write_buf[64];
 
-	tst_sig(NOFORK, DEF_HANDLER, cleanup);
+	strcpy(write_buf, "abcdefg");

There is no need for that. Just define the string and use sizeof instead of strlen, i.e.

#define WRITE_STR "abcdefg"

...

	SAFE_WRITE(1, fd, WRITE_STR, sizeof(WRITE_STR) - 1);

...

Or use SAFE_FILE_PRINTF(), then open() the fd.

testcases/kernel/syscalls/lseek/lseek01.c line 83

Quoted 13 lines
testcases/kernel/syscalls/lseek/lseek01.c +2 -9
-	TEST_PAUSE;
+	fd = SAFE_OPEN("tmp_file", O_RDWR | O_CREAT, 0644);
 
-	tst_tmpdir();
-
-	sprintf(Fname, "tfile_%d", getpid());
-	if ((Fd = open(Fname, O_RDWR | O_CREAT, 0700)) == -1) {
-		tst_brkm(TBROK, cleanup,
-			 "open(%s, O_RDWR|O_CREAT,0700) Failed, errno=%d : %s",
-			 Fname, errno, strerror(errno));
-	}
+	SAFE_WRITE(1, fd, write_buf, strlen(write_buf));
 }

Otherwise it looks fine.

Signature · 2 lines
Cyril Hrubis
[email protected]
author
#4 lore raw

PATCH 1/2 syscalls/lseek01, 06: cleanup && convert to new API

Quoted 15 lines · Cyril Hrubis

Hi!

testcases/kernel/syscalls/lseek/lseek01.c line 39

Quoted 9 lines
testcases/kernel/syscalls/lseek/lseek01.c +9 -0
+static int fd;
+static struct tcase {
+	off_t off;
+	int whence;
+	off_t exp_off;
+	char *exp_data;
+} tcases[] = {
+	{4, SEEK_SET, 4, "efg"},
+	{-2, SEEK_CUR, 5, "fg"},

This part actually depends on the fact that the file has been seeked and read in the previous test. I wonder if it would be less confusing if we reset the offset to a defined position (start of the file) before the the test.

Hi Cyril,

I want to avoid using lseek(2) directly to reset the offset, so i use read(2) to reset it to
end of file before every test.

Quoted 104 lines
Quoted 61 lines
testcases/kernel/syscalls/lseek/lseek01.c +18 -38
+	{-4, SEEK_END, 3, "defg"},
+};
+
+static void verify_lseek(unsigned int n)
  {
-	int lc;
-
-	int ind;
-	int offset;
+	char read_buf[64];
+	struct tcase *tc =&tcases[n];
 
-    /***************************************************************
-     * parse standard options
-     ***************************************************************/
-	tst_parse_opts(ac, av, NULL, NULL);
+	memset(read_buf, 0, sizeof(read_buf));
 
-    /***************************************************************
-     * perform global setup for test
-     ***************************************************************/
-	setup();
-
-    /***************************************************************
-     * check looping state if -c option given
-     ***************************************************************/
-	for (lc = 0; TEST_LOOPING(lc); lc++) {
-
-		tst_count = 0;
-
-		offset = (lc % 100) * 4096;	/* max size is 100 blocks */
-
-		for (ind = 0; Whence[ind]>= 0; ind++) {
+	TEST(lseek(fd, tc->off, tc->whence));
+	if (TEST_RETURN == (off_t) -1) {
+		tst_res(TFAIL | TTERRNO, "lseek(%d, %ld, %d) failed", fd,
+			tc->off, tc->whence);
+		return;
+	}
 
-			/*
-			 *  Call lseek(2)
-			 */
-			TEST(lseek(Fd, (long)offset, Whence[ind]));
+	if (TEST_RETURN != tc->exp_off) {
+		tst_res(TFAIL, "lseek(%d, %ld, %d) returned %ld, expected %ld",
+			fd, tc->off, tc->whence, TEST_RETURN, tc->exp_off);
+		return;
+	}
 
-			/* check return code */
-			if (TEST_RETURN == -1) {
-				tst_resm(TFAIL,
-					 "lseek(%s, %d, 0) Failed, errno=%d : %s",
-					 Fname, offset, TEST_ERRNO,
-					 strerror(TEST_ERRNO));
-			} else {
-				tst_resm(TPASS,
-					 "lseek(%s, %d, %d) returned %ld",
-					 Fname, offset, Whence[ind],
-					 TEST_RETURN);

testcases/kernel/syscalls/lseek/lseek01.c line 70

Quoted 10 lines
testcases/kernel/syscalls/lseek/lseek01.c +7 -2
-			}
-		}
+	SAFE_READ(0, fd,&read_buf, sizeof(read_buf));
 
+	if (strcmp(read_buf, tc->exp_data)) {
+		tst_res(TFAIL, "lseek(%d, %ld, %d) read incorrect data", fd,
+			tc->off, tc->whence);
+	} else {
+		tst_res(TPASS, "lseek(%d, %ld, %d) read correct data", fd,
+			tc->off, tc->whence);

I guess that the fd here is not that useful and it may be a bit better to to translate the whence to its name, but that is very minor.

Quoted 6 lines
  	}
testcases/kernel/syscalls/lseek/lseek01.c +0 -3
-
-	cleanup();
-	tst_exit();
  }
 

testcases/kernel/syscalls/lseek/lseek01.c line 78

Quoted 10 lines
testcases/kernel/syscalls/lseek/lseek01.c +3 -5
-/***************************************************************
- * setup() - performs all ONE TIME setup for this test.
- ***************************************************************/
-void setup(void)
+static void setup(void)
  {
+	char write_buf[64];
 
-	tst_sig(NOFORK, DEF_HANDLER, cleanup);
+	strcpy(write_buf, "abcdefg");

There is no need for that. Just define the string and use sizeof instead of strlen, i.e.

#define WRITE_STR "abcdefg"

...

	SAFE_WRITE(1, fd, WRITE_STR, sizeof(WRITE_STR) - 1);

...

Or use SAFE_FILE_PRINTF(), then open() the fd.

Quoted 3 lines
testcases/kernel/syscalls/lseek/lseek01.c +1 -1
-	TEST_PAUSE;
+	fd = SAFE_OPEN("tmp_file", O_RDWR | O_CREAT, 0644);
Quoted 11 lines

testcases/kernel/syscalls/lseek/lseek01.c line 83

Quoted 10 lines
testcases/kernel/syscalls/lseek/lseek01.c +1 -8
-	tst_tmpdir();
-
-	sprintf(Fname, "tfile_%d", getpid());
-	if ((Fd = open(Fname, O_RDWR | O_CREAT, 0700)) == -1) {
-		tst_brkm(TBROK, cleanup,
-			 "open(%s, O_RDWR|O_CREAT,0700) Failed, errno=%d : %s",
-			 Fname, errno, strerror(errno));
-	}
+	SAFE_WRITE(1, fd, write_buf, strlen(write_buf));
  }

Otherwise it looks fine.

Thanks for your comment.
I will send v2 patches soon.

Thanks,
Xiao Yang.

author
#5 lore raw

PATCH v2 1/2 syscalls/lseek01, 06: cleanup && convert to new API

In reply to Cyril Hrubis

1) merge lseek06 into lseek01
2) add tests for SEEK_CUR and SEEK_END

---
 runtest/ltplite                           |   1 -
 runtest/stress.part3                      |   1 -
 runtest/syscalls                          |   1 -
 testcases/kernel/syscalls/.gitignore      |   1 -
 testcases/kernel/syscalls/lseek/lseek01.c | 269 +++++++++---------------------
 testcases/kernel/syscalls/lseek/lseek06.c | 202 ----------------------
 6 files changed, 75 insertions(+), 400 deletions(-)
 delete mode 100644 testcases/kernel/syscalls/lseek/lseek06.c
runtest/ltplite +0 -1
index 909bbdb..7904117 100644
@@ -410,7 +410,6 @@ lseek02 lseek02
 lseek03 lseek03
 lseek04 lseek04
 lseek05 lseek05
-lseek06 lseek06
 lseek07 lseek07
 lseek08 lseek08
 lseek09 lseek09
runtest/stress.part3 +0 -1
index d5db1c2..42c2b0e 100644
@@ -336,7 +336,6 @@ lseek02 lseek02
 lseek03 lseek03
 lseek04 lseek04
 lseek05 lseek05
-lseek06 lseek06
 lseek07 lseek07
 lseek08 lseek08
 lseek09 lseek09
runtest/syscalls +0 -1
index 8754e3e..fcef347 100644
@@ -552,7 +552,6 @@ lseek02 lseek02
 lseek03 lseek03
 lseek04 lseek04
 lseek05 lseek05
-lseek06 lseek06
 lseek07 lseek07
 lseek08 lseek08
 lseek09 lseek09
testcases/kernel/syscalls/.gitignore +0 -1
index d8a38c0..5b8e5b4 100644
@@ -503,7 +503,6 @@
 /lseek/lseek03
 /lseek/lseek04
 /lseek/lseek05
-/lseek/lseek06
 /lseek/lseek07
 /lseek/lseek08
 /lseek/lseek09
testcases/kernel/syscalls/lseek/lseek01.c +75 -194

294 lines not on this page · raw message

testcases/kernel/syscalls/lseek/lseek06.c deleted +0 -202

202 lines not on this page · raw message

Signature · 1 line
1.8.3.1
author
#6 lore raw

PATCH v2 2/2 syscalls/lseek0[2-5]: cleanup && convert to new API

1) merge lseek03,04,05 into lseek02
2) add combinations of invalid parameters

---
 runtest/ltplite                           |   3 -
 runtest/stress.part3                      |   3 -
 runtest/syscalls                          |   3 -
 testcases/kernel/syscalls/.gitignore      |   3 -
 testcases/kernel/syscalls/lseek/lseek02.c | 247 ++++++++++--------------------
 testcases/kernel/syscalls/lseek/lseek03.c | 123 ---------------
 testcases/kernel/syscalls/lseek/lseek04.c | 222 ---------------------------
 testcases/kernel/syscalls/lseek/lseek05.c | 219 --------------------------
 8 files changed, 78 insertions(+), 745 deletions(-)
 delete mode 100644 testcases/kernel/syscalls/lseek/lseek03.c
 delete mode 100644 testcases/kernel/syscalls/lseek/lseek04.c
 delete mode 100644 testcases/kernel/syscalls/lseek/lseek05.c
runtest/ltplite +0 -3
index 7904117..2826514 100644
@@ -407,9 +407,6 @@ llseek03 llseek03
 
 lseek01 lseek01
 lseek02 lseek02
-lseek03 lseek03
-lseek04 lseek04
-lseek05 lseek05
 lseek07 lseek07
 lseek08 lseek08
 lseek09 lseek09
runtest/stress.part3 +0 -3
index 42c2b0e..67548dc 100644
@@ -333,9 +333,6 @@ llseek03 llseek03
 
 lseek01 lseek01
 lseek02 lseek02
-lseek03 lseek03
-lseek04 lseek04
-lseek05 lseek05
 lseek07 lseek07
 lseek08 lseek08
 lseek09 lseek09
runtest/syscalls +0 -3
index fcef347..169bfcd 100644
@@ -549,9 +549,6 @@ llseek03 llseek03
 
 lseek01 lseek01
 lseek02 lseek02
-lseek03 lseek03
-lseek04 lseek04
-lseek05 lseek05
 lseek07 lseek07
 lseek08 lseek08
 lseek09 lseek09
testcases/kernel/syscalls/.gitignore +0 -3
index 5b8e5b4..9ea4ed8 100644
@@ -500,9 +500,6 @@
 /llseek/llseek03
 /lseek/lseek01
 /lseek/lseek02
-/lseek/lseek03
-/lseek/lseek04
-/lseek/lseek05
 /lseek/lseek07
 /lseek/lseek08
 /lseek/lseek09
testcases/kernel/syscalls/lseek/lseek02.c +78 -169

272 lines not on this page · raw message

testcases/kernel/syscalls/lseek/lseek03.c deleted +0 -123

123 lines not on this page · raw message

testcases/kernel/syscalls/lseek/lseek04.c deleted +0 -222

222 lines not on this page · raw message

testcases/kernel/syscalls/lseek/lseek05.c deleted +0 -219

219 lines not on this page · raw message

Signature · 1 line
1.8.3.1