X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=test%2Fudev-test.pl;h=f442b162ec31cf5ff314480b269284ec5ff30e13;hp=fe7b932669e824d7eb29b0bf05fdd9c8da125922;hb=77313cd0d13ed3682f25c745f71f648292b28215;hpb=1cec1c241600fc11121f9504bc9e95836c03bd9c diff --git a/test/udev-test.pl b/test/udev-test.pl index fe7b93266..f442b162e 100644 --- a/test/udev-test.pl +++ b/test/udev-test.pl @@ -192,6 +192,15 @@ EOF KERNEL="ttyUSB0", \\ NAME="visor" +EOF + }, + { + desc => "preserve backslashes, if they are not for a newline", + subsys => "tty", + devpath => "/class/tty/ttyUSB0", + exp_name => "aaa", + conf => <