File: 2003-disable-expand_tilde_unix-test.patch

package info (click to toggle)
libssh 0.6.3-4%2Bdeb8u2
  • links: PTS, VCS
  • area: main
  • in suites: jessie
  • size: 2,932 kB
  • ctags: 3,508
  • sloc: ansic: 38,322; cpp: 372; makefile: 40; sh: 22; python: 9
file content (24 lines) | stat: -rw-r--r-- 959 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Description: Disable torture_path_expand_tilde_unix, its not working well on buildd
 On buildd, the HOME is set to a non-existing directory, this makes
 torture_path_expand_tilde_unix fail
Author: Laurent Bigonville <bigon@debian.org>

--- a/tests/unittests/torture_misc.c
+++ b/tests/unittests/torture_misc.c
@@ -192,11 +192,11 @@ int torture_run_tests(void) {
         unit_test(torture_basename),
         unit_test(torture_dirname),
         unit_test(torture_ntohll),
-#ifdef _WIN32
-        unit_test(torture_path_expand_tilde_win),
-#else
-        unit_test(torture_path_expand_tilde_unix),
-#endif
+//#ifdef _WIN32
+//        unit_test(torture_path_expand_tilde_win),
+//#else
+//        unit_test(torture_path_expand_tilde_unix),
+//#endif
         unit_test_setup_teardown(torture_path_expand_escape, setup, teardown),
         unit_test_setup_teardown(torture_path_expand_known_hosts, setup, teardown),
         unit_test(torture_timeout_elapsed),