Kaydet (Commit) eb4a3e95 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Better Shell error messages in case argument is missing

...like before 62df5aab "gdb-core-bt.sh expects
three arguments now"

Change-Id: I0e75813e36278e53db3fa13a60a58a84e90d7538
üst 62df5aab
...@@ -27,7 +27,7 @@ then ...@@ -27,7 +27,7 @@ then
rm "$GDBCOMMANDFILE" rm "$GDBCOMMANDFILE"
echo echo
exit 0 exit 0
elif [ $EXITCODE -ge 128 ]; then elif [ "$EXITCODE" -ge 128 ]; then
echo echo
echo "No core file identified in directory ${COREDIR}" echo "No core file identified in directory ${COREDIR}"
echo "To show backtraces for crashes during test execution," echo "To show backtraces for crashes during test execution,"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment