Skip to content

Commit

Permalink
Merge pull request #19102 from jecluis/wip-qa-find-used-ports
Browse files Browse the repository at this point in the history
qa: add simple and dirty script to find ports being used
  • Loading branch information
liewegas committed Nov 22, 2017
2 parents 98eb044 + 0b30a15 commit 1a1cdab
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions qa/find-used-ports.sh
@@ -0,0 +1,3 @@
#!/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

0 comments on commit 1a1cdab

Please sign in to comment.