#585 closed defect (invalid)
Mplayer read file date as keyboard input
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Component: | MPlayer OS X |
Version: | HEAD | Severity: | normal |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Reproduced by developer: | no | Analyzed by developer: | no |
Description
Attachment file testcase_list include two command to run mplayer; runtest.sh
will read testcase_list and run test cases.
When run first test case, mplayer open media file and play. Then mplayer read
contents of testcase_list as its keyboard input, and quickly exit.
Attachments (3)
Change History (7)
by , 18 years ago
Attachment: | testcase_listing added |
---|
comment:1 by , 18 years ago
comment:2 by , 18 years ago
comment:3 by , 18 years ago
Because my lanaguage env. is Chinese, so this file includes some Chinese, maybe
it can not be displayed in your system. I think it do not has matter.
comment:4 by , 18 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
Im no sh expert but it looks like your script "runtest.sh" is not waiting for the first command to finish
and try to run the second one. MPlayer read input from the terminal while running so i guess the
second command is interpreted has key input.
try this instead
#!/bin/sh
OBJLIST=testcase_listing
. $OBJLIST
This work on OSX and linux
test case listing