From: Bart Van Assche Date: Wed, 26 Aug 2009 18:45:46 +0000 (+0000) Subject: Added output variant for Linux systems without readlinkat(). X-Git-Tag: svn/VALGRIND_3_6_0~525 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3a8937832e30fcecadfcbe6b0ff7a5ab9c2a2e00;p=thirdparty%2Fvalgrind.git Added output variant for Linux systems without readlinkat(). git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10872 --- 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 +