mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-28 13:53:10 +00:00
Tests: Skip autosuggest_special harder
For some reason this still crashed? WTF?
This commit is contained in:
parent
12e6a41423
commit
4d8de32a16
1 changed files with 2 additions and 3 deletions
|
@ -3638,11 +3638,9 @@ static void perform_one_completion_cd_test(const wcstring &command, const wcstri
|
|||
// Testing test_autosuggest_suggest_special, in particular for properly handling quotes and
|
||||
// backslashes.
|
||||
static void test_autosuggest_suggest_special() {
|
||||
#if __SANITIZE_ADDRESS__
|
||||
// This manages to crash the asan on Ubuntu 20.04
|
||||
// So just skip it.
|
||||
return;
|
||||
#endif
|
||||
#ifndef __SANITIZE_ADDRESS__
|
||||
if (system("mkdir -p 'test/autosuggest_test/0foobar'")) err(L"mkdir failed");
|
||||
if (system("mkdir -p 'test/autosuggest_test/1foo bar'")) err(L"mkdir failed");
|
||||
if (system("mkdir -p 'test/autosuggest_test/2foo bar'")) err(L"mkdir failed");
|
||||
|
@ -3752,6 +3750,7 @@ static void test_autosuggest_suggest_special() {
|
|||
|
||||
parser_t::principal_parser().vars().remove(L"HOME", ENV_LOCAL | ENV_EXPORT);
|
||||
popd();
|
||||
#endif //ndef SANITIZE_ADDRESS
|
||||
}
|
||||
|
||||
static void perform_one_autosuggestion_should_ignore_test(const wcstring &command, long line) {
|
||||
|
|
Loading…
Reference in a new issue