-
Notifications
You must be signed in to change notification settings - Fork 181
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
linux shell prompt not found #1397
Comments
Seems like you've additional |
These are bracketed paste mode sequences, see the note within the ShellDriver documentation. |
OK, but the real reason this doesn't match is because labgrid modifies the user-define regex by inserting |
For bracketed_paste_mode (bool, default=False): set to True to enable ShellDriver's awareness that the DUT's
shell uses bracketed paste mode, allowing the shell to differentiate between typed and pasted input. |
Related discussion in closed PR #975. |
Does labgrid really need to know the DUT shell's features? Why not just make the labgrid-inserted regex between |
I'm having problems getting linux shell prompt to match in ShellDriver. This is what have this in config yaml
The default shell prompt on this platform is
root@BeaglePlay:~#
and the initial prompt (copied from the labgrid docs) didn't work, so I tried a more basic match without the regex and it still doesn't match. What am I doing wrong here?In the backtrace below, you can see exactly what's in the pexpect buffer (including the
$MARKER
) and the re.compile expression, but I can't figure out why this isn't matching.The text was updated successfully, but these errors were encountered: