<p></p>
<p><b>@ldv-alt</b> commented on this pull request.</p>

<hr>

<p>In <a href="https://github.com/strace/strace/pull/149#discussion_r474773661">tests/strace-n.c</a>:</p>
<pre style='color:#555'>> @@ -0,0 +1,42 @@
+/*
+ * Test strace's -n option.
+ *
+ * Copyright (c) 2020 The strace developers.
+ * All rights reserved.
+ *
+ * SPDX-License-Identifier: GPL-2.0-or-later
+ */
+
+#include "tests.h"
+#include "scno.h"
+
+#if defined __NR_socketcall && defined __NR_listen && defined __i386__
</pre>
<p>At least it would test print_syscall_number, it's better than testing nothing.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/strace/strace/pull/149#discussion_r474773661">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AOVBTR2RGGZEZHNXQP6GHNDSB2HWXANCNFSM4QF6TW7Q">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AOVBTRZUKHSGM5G6OD4BEVTSB2HWXA5CNFSM4QF6TW72YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGODQVSYOI.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/strace/strace/pull/149#discussion_r474773661",
"url": "https://github.com/strace/strace/pull/149#discussion_r474773661",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>