File: smoke-env

package info (click to toggle)
libmongodb-perl 2.2.2-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 10,292 kB
  • sloc: perl: 14,421; python: 299; makefile: 20; sh: 11
file content (1 line) | stat: -rw-r--r-- 171 bytes parent folder | download | duplicates (4)
1
MONGOD=`/bin/netstat -want | perl -w -e 'while (<>) { $used{$1}=1 if /127\.0\.0\.1:(\d+)/;}; $port = 12345; while ($used{$port}) { $port++ }; print "127.0.0.1:$port\n";'`