Search
lxdream.org :: lxdream/src/test/testlxpaths.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/test/testlxpaths.c
changeset 1283:2cbafe321d6f
prev1205:a486ac64f34b
next1296:30ecee61f811
author nkeynes
date Tue Mar 27 17:39:05 2012 +1000 (12 years ago)
permissions -rw-r--r--
last change Treat quotes as entering a double-quoted string (mostly redundant, but we
generate them in the path escaping for some reason)
file annotate diff log raw
1.1 --- a/src/test/testlxpaths.c Mon Jan 30 20:11:08 2012 +1000
1.2 +++ b/src/test/testlxpaths.c Tue Mar 27 17:39:05 2012 +1000
1.3 @@ -23,6 +23,7 @@
1.4 #include "lxpaths.h"
1.5
1.6 char *lxdream_get_global_config_path_value() { }
1.7 +void log_message( void *ptr, int level, const gchar *source, const char *msg, ... ) { }
1.8
1.9 struct expanded_path_case_t {
1.10 const char *input;
1.11 @@ -45,6 +46,7 @@
1.12 {"/home/$TEST1/blah", "/home/quux/blah"},
1.13 {"/tmp/${TEST2}/abcd", "/tmp/${BLAH}/abcd"},
1.14 {"$TEST1$TEST2$TEST3$1$2", "quux${BLAH}3"},
1.15 + {"\"/home/foo\"", "/home/foo"},
1.16 {NULL,NULL}
1.17 };
1.18
.