diff options
| author | Aditya Tayade <Aditya.Tayade@kpit.com> | 2019-03-05 04:08:06 +0000 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2019-03-07 09:33:45 -0800 |
| commit | 44cca74e908930c10f7d864e1a5ee7fad623f6b3 (patch) | |
| tree | c1ee0689936166baf43731c18dbd6f332fbde7f1 /meta-oe/recipes-devtools | |
| parent | 22d16b120b760f8f2cfca0016146c1284af54d14 (diff) | |
| download | meta-openembedded-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-ptest | 2 |
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 | |||
| 8 | if [ -x "${write_exe_full_path}" ]; then | 8 | if [ -x "${write_exe_full_path}" ]; then |
| 9 | write_exe=`basename ${write_exe_full_path}` | 9 | write_exe=`basename ${write_exe_full_path}` |
| 10 | echo "Generating new test file using ${write_exe}..." | 10 | echo "Generating new test file using ${write_exe}..." |
| 11 | ${write_exe_full_path} "${TEST_FILE}" | 11 | printf "1234\nname\nname@example.com\n" | ${write_exe_full_path} "${TEST_FILE}" |
| 12 | RETVAL=$? | 12 | RETVAL=$? |
| 13 | [ $RETVAL -eq 0 ] || exit $RETVAL | 13 | [ $RETVAL -eq 0 ] || exit $RETVAL |
| 14 | 14 | ||
