test-json: Avoid use of /dev/stdin to fix builds in limited chroots.
authorBen Pfaff <blp@nicira.com>
Thu, 17 Dec 2009 23:47:27 +0000 (15:47 -0800)
committerBen Pfaff <blp@nicira.com>
Thu, 17 Dec 2009 23:50:01 +0000 (15:50 -0800)
commit5562d6f55e762ea6783a9f6032e85ccb2824773f
tree7459c4bc1d61568c292a7e36b2c99e6eabc48286
parent57972e2ed740f00b2d575b55d609c69ae0a86d4f
test-json: Avoid use of /dev/stdin to fix builds in limited chroots.

The chroots in which we often build Open vSwitch don't have /proc and
thus cannot support /dev/stdin, because on Linux that is a symlink to
/proc/self/fd/0.  So avoid using /dev/stdin in the testsuite.
lib/json.c
lib/json.h
tests/test-json.c