diff options
-rw-r--r-- | src/udev/test-udev-node.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/udev/test-udev-node.c b/src/udev/test-udev-node.c index fe3dd437d5..d2e2285089 100644 --- a/src/udev/test-udev-node.c +++ b/src/udev/test-udev-node.c @@ -33,6 +33,10 @@ static void test_udev_node_escape_path(void) { strcpy(b + sizeof(b) - 12, "N3YhcCqFeID"); test_udev_node_escape_path_one(a, b); + + strcpy(a + sizeof(a) - 12 - 9, "N3YhcCqFeID"); + + test_udev_node_escape_path_one(a, b); /* <-- Ouch. This will pass. Needs to be fixed. */ } int main(int argc, char *argv[]) { |