Commit 35fcf870d778d5a0fcaf49366312b31d030bf764
1 parent
9167ba72
Exists in
master
and in
1 other branch
Updating Linux IPC test scripts.
Showing
2 changed files
with
9 additions
and
6 deletions
Show diff stats
server/testscripts/getstring.sh
... | ... | @@ -3,10 +3,12 @@ |
3 | 3 | # https://stackoverflow.com/questions/48648952/set-get-property-using-dbus-send |
4 | 4 | # |
5 | 5 | |
6 | +. ./dbus.conf | |
7 | + | |
6 | 8 | dbus-send \ |
7 | 9 | --session \ |
8 | - --dest=br.com.bb.pw3270.a\ | |
10 | + --dest=${DBUS_DEST} \ | |
9 | 11 | --print-reply \ |
10 | - "/br/com/bb/tn3270/session" \ | |
11 | - "br.com.bb.tn3270.session.getString" | |
12 | + "${DBUS_PATH}" \ | |
13 | + "${DBUS_INTERFACE}.getString" | |
12 | 14 | ... | ... |
server/testscripts/geturl.sh
... | ... | @@ -12,13 +12,14 @@ |
12 | 12 | # string:br.com.bb.tn3270.session \ |
13 | 13 | # string:url |
14 | 14 | |
15 | +. ./dbus.conf | |
15 | 16 | |
16 | 17 | gdbus \ |
17 | 18 | call \ |
18 | 19 | --session \ |
19 | - --dest "br.com.bb.pw3270.a" \ | |
20 | - --object-path "/br/com/bb/tn3270/session" \ | |
20 | + --dest ${DBUS_DEST} \ | |
21 | + --object-path "${DBUS_PATH}" \ | |
21 | 22 | --method org.freedesktop.DBus.Properties.Get \ |
22 | - "br.com.bb.tn3270.session" \ | |
23 | + "${DBUS_INTERFACE}" \ | |
23 | 24 | "url" |
24 | 25 | ... | ... |