File: test_env

package info (click to toggle)
ruby-dbus 0.16.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 520 kB
  • sloc: ruby: 3,786; sh: 53; makefile: 8
file content (14 lines) | stat: -rwxr-xr-x 301 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#! /bin/bash
# test_env: set up the environment needed to run tests:
# - set up a private bus
# - run a test server on it

#export DBUS_VERBOSE=1
#export RUBYOPT="-d"
export RUBYOPT="$RUBYOPT -w"
DIR=$(dirname $0)
$DIR/test_server \
	$DIR/../service_newapi.rb \
	-- \
	$DIR/dbus-launch-simple \
	"$@"