From 3a8937832e30fcecadfcbe6b0ff7a5ab9c2a2e00 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Wed, 26 Aug 2009 18:45:46 +0000 Subject: [PATCH] Added output variant for Linux systems without readlinkat(). git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10872 --- none/tests/Makefile.am | 4 +++- ...err.exp => procfs-linux.stderr.exp-with-readlinkat} | 0 none/tests/procfs-linux.stderr.exp-without-readlinkat | 10 ++++++++++ 3 files changed, 13 insertions(+), 1 deletion(-) rename none/tests/{procfs-linux.stderr.exp => procfs-linux.stderr.exp-with-readlinkat} (100%) create mode 100644 none/tests/procfs-linux.stderr.exp-without-readlinkat diff --git a/none/tests/Makefile.am b/none/tests/Makefile.am index 4b8cd27080..e1bb4cd497 100644 --- a/none/tests/Makefile.am +++ b/none/tests/Makefile.am @@ -88,7 +88,9 @@ EXTRA_DIST = \ munmap_exe.stderr.exp munmap_exe.vgtest \ nestedfns.stderr.exp nestedfns.stdout.exp nestedfns.vgtest \ pending.stdout.exp pending.stderr.exp pending.vgtest \ - procfs-linux.stderr.exp procfs-linux.vgtest \ + procfs-linux.stderr.exp-with-readlinkat \ + procfs-linux.stderr.exp-without-readlinkat \ + procfs-linux.vgtest \ procfs-non-linux.stderr.exp procfs-non-linux.vgtest \ pth_atfork1.stderr.exp pth_atfork1.stdout.exp pth_atfork1.vgtest \ pth_blockedsig.stderr.exp \ diff --git a/none/tests/procfs-linux.stderr.exp b/none/tests/procfs-linux.stderr.exp-with-readlinkat similarity index 100% rename from none/tests/procfs-linux.stderr.exp rename to none/tests/procfs-linux.stderr.exp-with-readlinkat diff --git a/none/tests/procfs-linux.stderr.exp-without-readlinkat b/none/tests/procfs-linux.stderr.exp-without-readlinkat new file mode 100644 index 0000000000..25fd8e6d93 --- /dev/null +++ b/none/tests/procfs-linux.stderr.exp-without-readlinkat @@ -0,0 +1,10 @@ + +/proc/self/cmdline: +./procfs-cmdline-exe\0arg1\0arg 2\0arg3\0 +/proc//cmdline: +./procfs-cmdline-exe\0arg1\0arg 2\0arg3\0 +Result of readlink("/proc/self/exe"): procfs-cmdline-exe +Result of readlink("/proc//exe"): procfs-cmdline-exe +readlinkat: Function not implemented +readlinkat: Function not implemented + -- 2.47.2