summaryrefslogtreecommitdiffstats
path: root/tests/cram/test_blobmsg.t
blob: 504a056f52c47f52b6ed0083db3f1ad934f8222a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
check that blobmsg is producing expected results:

  $ [ -n "$TEST_BIN_DIR" ] && export PATH="$TEST_BIN_DIR:$PATH"
  $ valgrind --quiet --leak-check=full test-blobmsg
  Message: Hello, world!
  List: {
  0
  1
  2
  133.700000
  }
  Testdata: {
  \tdouble : 133.700000 (esc)
  \thello : 1 (esc)
  \tworld : 2 (esc)
  }
  json: {"message":"Hello, world!","testdata":{"double":133.700000,"hello":1,"world":"2"},"list":[0,1,2,133.700000]}