This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
Holger Freyther gerrit-no-reply at lists.osmocom.org
Review at https://gerrit.osmocom.org/3923
vty: Print open file descriptors of the VTY test runner
/proc/self/fd refers to the process opening the file. In this case
self will be "ls". Maybe it is better to look at the FDs open in
the test runner itself.
Change-Id: I638e94f16f4019a7b6026d1fae69e677870fb253
---
M osmopy/obscvty.py
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/python/osmo-python-tests refs/changes/23/3923/1
diff --git a/osmopy/obscvty.py b/osmopy/obscvty.py
index f1f1c59..0371dc9 100755
--- a/osmopy/obscvty.py
+++ b/osmopy/obscvty.py
@@ -43,7 +43,7 @@
global debug_tcp_sockets
if not debug_tcp_sockets:
return
- cmd('ls /proc/self/fd');
+ cmd('ls /proc/' + str(os.getpid()) + '/fd');
cmd('ss -tn');
cmd('ss -tln');
cmd('ps xua | grep osmo');
--
To view, visit https://gerrit.osmocom.org/3923
To unsubscribe, visit https://gerrit.osmocom.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I638e94f16f4019a7b6026d1fae69e677870fb253
Gerrit-PatchSet: 1
Gerrit-Project: python/osmo-python-tests
Gerrit-Branch: master
Gerrit-Owner: Holger Freyther <holger at freyther.de>