]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Added output variant for Linux systems without readlinkat().
authorBart Van Assche <bvanassche@acm.org>
Wed, 26 Aug 2009 18:45:46 +0000 (18:45 +0000)
committerBart Van Assche <bvanassche@acm.org>
Wed, 26 Aug 2009 18:45:46 +0000 (18:45 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10872

none/tests/Makefile.am
none/tests/procfs-linux.stderr.exp-with-readlinkat [moved from none/tests/procfs-linux.stderr.exp with 100% similarity]
none/tests/procfs-linux.stderr.exp-without-readlinkat [new file with mode: 0644]

index 4b8cd27080220bae7d6c5ba25443dba7285ad5bd..e1bb4cd4979e3ca9bd1a2009f88f9c36cf91059b 100644 (file)
@@ -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-without-readlinkat b/none/tests/procfs-linux.stderr.exp-without-readlinkat
new file mode 100644 (file)
index 0000000..25fd8e6
--- /dev/null
@@ -0,0 +1,10 @@
+
+/proc/self/cmdline:
+./procfs-cmdline-exe\0arg1\0arg 2\0arg3\0
+/proc/<pid>/cmdline:
+./procfs-cmdline-exe\0arg1\0arg 2\0arg3\0
+Result of readlink("/proc/self/exe"): procfs-cmdline-exe
+Result of readlink("/proc/<pid>/exe"): procfs-cmdline-exe
+readlinkat: Function not implemented
+readlinkat: Function not implemented
+