blob: 649a016d1fc67b962d88a53e2434dcdb677f4f4a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#!/bin/bash
#
# json dbus bridge
#
# Copyright (c) 2010 by Michael Olbrich <m.olbrich@pengutronix.de>
#
# To the extent possible under law, Pengutronix e.K. has waived all copyright
# and related or neighboring rights to JSON-DBus-Bridge Demo Code.
#
. `dirname $0`/test_setup.sh "com.pengutronix.jdb.Test.Basic" || exit
jdb_test_echo EchoINT32 i 0 &&
jdb_test_echo EchoINT32 i -1 &&
jdb_test_echo EchoINT32 i 42 &&
jdb_test_echo EchoINT32 i 2147483647 &&
jdb_test_echo EchoINT32 i -2147483648 &&
jdb_test_echo EchoINT32 i '"foo"' null "integer value expected."
|