[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/external/bsd/kyua-testers/dist
Module Name: src
Committed By: jmmv
Date: Sat Feb 23 21:04:28 UTC 2013
src/external/bsd/kyua-testers/dist: atf_list.c atf_list_test.c
Cherry-pick upstream commit 9f81e6f6fece7f7e26643022a5efb93c3595e9bc:
Escape backslashes in test metadata
The previous code in kyua-atf-tester escaped single quotes in the
metadata of test cases so that those single quotes did not yield
invalid Lua strings in the output of the tester.
It turns out we also need to escape backslashes for things to work
properly. Backslashes also have special meaning within Lua strings.
Found while running the NetBSD test suite. In particular, the
lib/libc/gen/t_fnmatch test program had the '\'' sequence in the
description of a test and this made the test program be reported
To generate a diff of this commit:
cvs rdiff -u -r18.104.22.168 -r1.2 src/external/bsd/kyua-testers/dist/atf_list.c \
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Main Index |
Thread Index |