aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools
diff options
context:
space:
mode:
authorAditya Tayade <Aditya.Tayade@kpit.com>2019-03-05 04:08:06 +0000
committerKhem Raj <raj.khem@gmail.com>2019-03-07 09:33:45 -0800
commit44cca74e908930c10f7d864e1a5ee7fad623f6b3 (patch)
treec1ee0689936166baf43731c18dbd6f332fbde7f1 /meta-oe/recipes-devtools
parent22d16b120b760f8f2cfca0016146c1284af54d14 (diff)
downloadmeta-openembedded-contrib-44cca74e908930c10f7d864e1a5ee7fad623f6b3.tar.gz
run-ptest: supplied user inputs to add_person_cpp
During protobuf-ptest execution, add_person_cpp waits for user inputs to write data into test.data file. Fixed this by supplying dummy data through standard input. Upstream-Status: Pending Signed-off-by: Aditya Tayade <Aditya.Tayade@kpit.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-devtools')
-rw-r--r--meta-oe/recipes-devtools/protobuf/protobuf/run-ptest2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-oe/recipes-devtools/protobuf/protobuf/run-ptest b/meta-oe/recipes-devtools/protobuf/protobuf/run-ptest
index 7c3a8d1b3a..b3b2278c47 100644
--- a/meta-oe/recipes-devtools/protobuf/protobuf/run-ptest
+++ b/meta-oe/recipes-devtools/protobuf/protobuf/run-ptest
@@ -8,7 +8,7 @@ for write_exe_full_path in ${DIR}/add_person_*; do
if [ -x "${write_exe_full_path}" ]; then
write_exe=`basename ${write_exe_full_path}`
echo "Generating new test file using ${write_exe}..."
- ${write_exe_full_path} "${TEST_FILE}"
+ printf "1234\nname\nname@example.com\n" | ${write_exe_full_path} "${TEST_FILE}"
RETVAL=$?
[ $RETVAL -eq 0 ] || exit $RETVAL