ltp-testsuite.patch 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. diff -ur ltp-full-20061121/testcases/kernel/syscalls/fmtmsg/Makefile ltp-full-20061121-patched/testcases/kernel/syscalls/fmtmsg/Makefile
  2. --- ltp-full-20061121/testcases/kernel/syscalls/fmtmsg/Makefile 2006-11-21 14:31:28.000000000 -0600
  3. +++ ltp-full-20061121-patched/testcases/kernel/syscalls/fmtmsg/Makefile 2006-12-02 00:16:36.830948316 -0600
  4. @@ -20,7 +20,7 @@
  5. LDLIBS += -L../../../../lib -lltp
  6. SRCS = $(wildcard *.c)
  7. -TARGETS = $(patsubst %.c,%,$(SRCS))
  8. +TARGETS =#$(patsubst %.c,%,$(SRCS))
  9. all: $(TARGETS)
  10. diff -ur ltp-full-20061121/testcases/kernel/syscalls/getcontext/Makefile ltp-full-20061121-patched/testcases/kernel/syscalls/getcontext/Makefile
  11. --- ltp-full-20061121/testcases/kernel/syscalls/getcontext/Makefile 2006-11-21 14:31:27.000000000 -0600
  12. +++ ltp-full-20061121-patched/testcases/kernel/syscalls/getcontext/Makefile 2006-12-02 00:16:50.072004501 -0600
  13. @@ -20,7 +20,7 @@
  14. LDLIBS += -L../../../../lib -lltp
  15. SRCS = $(wildcard *.c)
  16. -TARGETS = $(patsubst %.c,%,$(SRCS))
  17. +TARGETS =#$(patsubst %.c,%,$(SRCS))
  18. all: $(TARGETS)
  19. diff -ur ltp-full-20061121/testcases/kernel/syscalls/profil/Makefile ltp-full-20061121-patched/testcases/kernel/syscalls/profil/Makefile
  20. --- ltp-full-20061121/testcases/kernel/syscalls/profil/Makefile 2006-11-21 14:31:28.000000000 -0600
  21. +++ ltp-full-20061121-patched/testcases/kernel/syscalls/profil/Makefile 2006-12-02 00:17:03.301059744 -0600
  22. @@ -20,7 +20,7 @@
  23. LDLIBS += -L../../../../lib -lltp
  24. SRCS = $(wildcard *.c)
  25. -TARGETS = $(patsubst %.c,%,$(SRCS))
  26. +TARGETS =#$(patsubst %.c,%,$(SRCS))
  27. all: $(TARGETS)
  28. diff -ur ltp-full-20061121/testcases/kernel/syscalls/pselect/Makefile ltp-full-20061121-patched/testcases/kernel/syscalls/pselect/Makefile
  29. --- ltp-full-20061121/testcases/kernel/syscalls/pselect/Makefile 2006-11-21 14:31:29.000000000 -0600
  30. +++ ltp-full-20061121-patched/testcases/kernel/syscalls/pselect/Makefile 2006-12-02 00:17:14.661965984 -0600
  31. @@ -20,7 +20,7 @@
  32. LDLIBS += -L../../../../lib -lltp
  33. SRCS = $(wildcard *.c)
  34. -TARGETS = $(patsubst %.c,%,$(SRCS))
  35. +TARGETS =#$(patsubst %.c,%,$(SRCS))
  36. all: $(TARGETS)
  37. diff -ur ltp-full-20061121/testcases/kernel/syscalls/swapon/swapon02.c ltp-full-20061121-patched/testcases/kernel/syscalls/swapon/swapon02.c
  38. --- ltp-full-20061121/testcases/kernel/syscalls/swapon/swapon02.c 2006-11-21 14:31:29.000000000 -0600
  39. +++ ltp-full-20061121-patched/testcases/kernel/syscalls/swapon/swapon02.c 2006-12-02 00:18:12.422573631 -0600
  40. @@ -85,9 +85,7 @@
  41. #include <sys/wait.h>
  42. #include <sys/stat.h>
  43. #include <sys/swap.h>
  44. -#ifdef OLDER_DISTRO_RELEASE
  45. -#include <linux/swap.h>
  46. -#endif
  47. +#define MAX_SWAPFILES 32
  48. #include <fcntl.h>
  49. #include <pwd.h>
  50. #include <string.h>
  51. @@ -96,10 +94,6 @@
  52. #include "test.h"
  53. #include "usctest.h"
  54. -#ifndef OLDER_DISTRO_RELEASE
  55. -#define MAX_SWAPFILES 32
  56. -#endif
  57. -
  58. static void setup();
  59. static void cleanup();
  60. static int setup01();