On Thu, Mar 05, 2015 at 06:16:04PM -0800, Alex Wang wrote:
> I found the issue but not the root cause,
> 
> turns out, the autotest really does not like opening 'interactive shell'
> inside the
> AT_CHECK.  The test hangs at (in function _ovs_vsctl_get_PS1):
> 
> """
> v="$(bash --norc --noprofile -i 2>&1 <<< $'PS1=\"'"$myPS1"$'\" \n# Begin
> prompt\n# End prompt')"
> """
> 
> Unfortunately, I could not find the root cause for this...
> 
> In use the same way to get PS1 in my ovs-appctl-bashcomp.bash, however,
> I disable the function when running in test mode (that's why we did not see
> it
> in appctl completion tests).  So, maybe we could do the same?

Without digging into it, it's not obvious to me why you need to know the
bash prompt.  Can you just set a known prompt instead?
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to