mirror of
https://github.com/ceph/ceph
synced 2024-12-20 18:33:44 +00:00
0b30a1538a
Seriously, having this is way better than realizing that one needs to find an unused port each time a new test is created. It's far from a perfect script. It's downright not elegant. Signed-off-by: Joao Eduardo Luis <joao@suse.de>
4 lines
120 B
Bash
Executable File
4 lines
120 B
Bash
Executable File
#!/bin/bash
|
|
|
|
git --no-pager grep -n '127.0.0.1:[0-9]\+' | sed -n 's/.*127.0.0.1:\([0-9]\+\).*/\1/p' | sort -n | uniq -u
|