tests: fix mocked fs.popen() trace log
authorJo-Philipp Wich <jo@mein.io>
Sat, 5 Feb 2022 23:29:11 +0000 (00:29 +0100)
committerJo-Philipp Wich <jo@mein.io>
Sat, 5 Feb 2022 23:33:04 +0000 (00:33 +0100)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
tests/lib/mocklib/fs.uc

index 1bde07ecdc366b76a9402ebaf6dd7f22aa86f4cd..134673edc70e68f007044ed22c3d6749eaad5ee6 100644 (file)
@@ -46,7 +46,7 @@
                                return null;
                        }
 
-                       printf("fs.popen() cmdline <%s> mode <%s>\n", cmdline, mode);
+                       mocklib.trace_call("fs", "popen", { cmdline, mode });
 
                        return {
                                read: function(amount) {