ltp-testsuite.patch 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. diff -urN ltp-full-20040506.orig/testcases/kernel/syscalls/fmtmsg/Makefile ltp-full-20040506/testcases/kernel/syscalls/fmtmsg/Makefile
  2. --- ltp-full-20040506.orig/testcases/kernel/syscalls/fmtmsg/Makefile 2003-03-04 09:15:27.000000000 -0700
  3. +++ ltp-full-20040506/testcases/kernel/syscalls/fmtmsg/Makefile 2004-05-12 14:03:56.000000000 -0600
  4. @@ -24,7 +24,7 @@
  5. LOADLIBES+= -L../../../../lib -lltp
  6. SRCS=$(wildcard *.c)
  7. -TARGETS=$(patsubst %.c,%,$(SRCS))
  8. +TARGETS=#$(patsubst %.c,%,$(SRCS))
  9. all: $(TARGETS)
  10. diff -urN ltp-full-20040506.orig/testcases/kernel/syscalls/profil/Makefile ltp-full-20040506/testcases/kernel/syscalls/profil/Makefile
  11. --- ltp-full-20040506.orig/testcases/kernel/syscalls/profil/Makefile 2003-03-04 09:16:26.000000000 -0700
  12. +++ ltp-full-20040506/testcases/kernel/syscalls/profil/Makefile 2004-05-12 14:03:56.000000000 -0600
  13. @@ -23,7 +23,7 @@
  14. LOADLIBES+= -L../../../../lib -lltp
  15. SRCS=$(wildcard *.c)
  16. -TARGETS=$(patsubst %.c,%,$(SRCS))
  17. +TARGETS=#$(patsubst %.c,%,$(SRCS))
  18. all: $(TARGETS)
  19. diff -urN ltp-full-20040506.orig/testcases/kernel/syscalls/swapon/swapon02.c ltp-full-20040506/testcases/kernel/syscalls/swapon/swapon02.c
  20. --- ltp-full-20040506.orig/testcases/kernel/syscalls/swapon/swapon02.c 2004-04-23 12:13:20.000000000 -0600
  21. +++ ltp-full-20040506/testcases/kernel/syscalls/swapon/swapon02.c 2004-05-12 23:02:50.000000000 -0600
  22. @@ -85,9 +85,7 @@
  23. #include <sys/swap.h>
  24. #include <asm/page.h>
  25. #include <asm/atomic.h>
  26. -#ifdef OLDER_DISTRO_RELEASE
  27. -#include <linux/swap.h>
  28. -#endif
  29. +#define MAX_SWAPFILES 32
  30. #include <fcntl.h>
  31. #include <pwd.h>
  32. #include <string.h>
  33. @@ -96,10 +94,6 @@
  34. #include "test.h"
  35. #include "usctest.h"
  36. -#ifndef OLDER_DISTRO_RELEASE
  37. -#define MAX_SWAPFILES 32
  38. -#endif
  39. -
  40. static void setup();
  41. static void cleanup();
  42. static int setup01();