File ChangeLog changed (mode: 100644) (index c44bf68e0..99af3286b) |
45 |
45 |
Fixed parsing of commands which names are not followed by spaces with |
Fixed parsing of commands which names are not followed by spaces with |
46 |
46 |
regard to pipe symbols (|). Thanks to aleksejrs. |
regard to pipe symbols (|). Thanks to aleksejrs. |
47 |
47 |
|
|
|
48 |
|
Fixed extending second :tr argument, which could cause failure in build |
|
49 |
|
with assertions. Thanks to octos. |
|
50 |
|
|
48 |
51 |
0.8 to 0.8.1-beta |
0.8 to 0.8.1-beta |
49 |
52 |
|
|
50 |
53 |
Turned remote commands back on by default after their rewrite using |
Turned remote commands back on by default after their rewrite using |
File tests/misc/commands.c changed (mode: 100644) (index da74befa8..7f0f9460d) |
... |
... |
TEST(user_command_is_executed_in_separated_scope) |
287 |
287 |
assert_failure(exec_commands("cmd", &lwin, CIT_COMMAND)); |
assert_failure(exec_commands("cmd", &lwin, CIT_COMMAND)); |
288 |
288 |
} |
} |
289 |
289 |
|
|
|
290 |
|
TEST(tr_extends_second_field) |
|
291 |
|
{ |
|
292 |
|
assert_success(chdir(SANDBOX_PATH)); |
|
293 |
|
|
|
294 |
|
strcpy(lwin.curr_dir, SANDBOX_PATH); |
|
295 |
|
|
|
296 |
|
create_file(SANDBOX_PATH "/a b"); |
|
297 |
|
|
|
298 |
|
lwin.list_rows = 1; |
|
299 |
|
lwin.list_pos = 0; |
|
300 |
|
lwin.dir_entry = dynarray_cextend(NULL, |
|
301 |
|
lwin.list_rows*sizeof(*lwin.dir_entry)); |
|
302 |
|
lwin.dir_entry[0].name = strdup("a b"); |
|
303 |
|
lwin.dir_entry[0].origin = &lwin.curr_dir[0]; |
|
304 |
|
lwin.dir_entry[0].selected = 1; |
|
305 |
|
lwin.selected_files = 1; |
|
306 |
|
|
|
307 |
|
(void)exec_commands("tr/ ?<>\\\\:*|\"/_", &lwin, CIT_COMMAND); |
|
308 |
|
|
|
309 |
|
assert_success(remove(SANDBOX_PATH "/a_b")); |
|
310 |
|
} |
|
311 |
|
|
290 |
312 |
/* vim: set tabstop=2 softtabstop=2 shiftwidth=2 noexpandtab cinoptions-=(0 : */ |
/* vim: set tabstop=2 softtabstop=2 shiftwidth=2 noexpandtab cinoptions-=(0 : */ |
291 |
313 |
/* vim: set cinoptions+=t0 filetype=c : */ |
/* vim: set cinoptions+=t0 filetype=c : */ |