Home
last modified time | relevance | path

Searched refs:bin_path (Results 1 – 25 of 1106) sorted by relevance

12345678910>>...45

/dports/misc/py-pexpect/pexpect-4.8.0/tests/
H A Dtest_which.py36 os.remove(bin_path)
52 bin_path = temp_obj.name
65 os.chmod(bin_path, 0o400)
72 os.chmod(bin_path, 0o700)
75 assert pexpect.which(bin_path) == bin_path
85 os.unlink(bin_path)
102 os.chmod(bin_path, 0o400)
109 os.chmod(bin_path, 0o700)
112 assert pexpect.which(bin_path) == bin_path
121 os.unlink(bin_path)
[all …]
/dports/sysutils/ansible2/ansible-2.9.27/test/lib/ansible_test/_internal/sanity/
H A Dbin_symlinks.py67 for bin_path in bin_paths:
68 if not os.path.islink(bin_path):
69 errors.append((bin_path, 'not a symbolic link'))
72 dest = os.readlink(bin_path)
74 if not os.path.exists(bin_path):
75 errors.append((bin_path, 'points to non-existent path "%s"' % dest))
78 if not os.path.isfile(bin_path):
79 errors.append((bin_path, 'points to non-file "%s"' % dest))
82 map_dest = ANSIBLE_BIN_SYMLINK_MAP.get(os.path.basename(bin_path))
92 if not os.access(bin_path, os.X_OK):
[all …]
/dports/sysutils/py-ansible-core/ansible-core-2.11.6/test/lib/ansible_test/_internal/sanity/
H A Dbin_symlinks.py67 for bin_path in bin_paths:
68 if not os.path.islink(bin_path):
69 errors.append((bin_path, 'not a symbolic link'))
72 dest = os.readlink(bin_path)
74 if not os.path.exists(bin_path):
75 errors.append((bin_path, 'points to non-existent path "%s"' % dest))
78 if not os.path.isfile(bin_path):
79 errors.append((bin_path, 'points to non-file "%s"' % dest))
82 map_dest = ANSIBLE_BIN_SYMLINK_MAP.get(os.path.basename(bin_path))
92 if not os.access(bin_path, os.X_OK):
[all …]
/dports/sysutils/py-ansible-base/ansible-base-2.10.15/test/lib/ansible_test/_internal/sanity/
H A Dbin_symlinks.py67 for bin_path in bin_paths:
68 if not os.path.islink(bin_path):
69 errors.append((bin_path, 'not a symbolic link'))
72 dest = os.readlink(bin_path)
74 if not os.path.exists(bin_path):
75 errors.append((bin_path, 'points to non-existent path "%s"' % dest))
78 if not os.path.isfile(bin_path):
79 errors.append((bin_path, 'points to non-file "%s"' % dest))
82 map_dest = ANSIBLE_BIN_SYMLINK_MAP.get(os.path.basename(bin_path))
92 if not os.access(bin_path, os.X_OK):
[all …]
/dports/security/py-angr/angr-9.0.5405/tests/
H A Dtest_decompiler.py9 bin_path = os.path.join(test_location, "x86_64", "all")
107 p = angr.Project(bin_path, auto_load_libs=False)
170 p = angr.Project(bin_path, auto_load_libs=False)
198 p = angr.Project(bin_path, auto_load_libs=False)
232 p = angr.Project(bin_path, auto_load_libs=False)
270 p = angr.Project(bin_path, auto_load_libs=False)
308 p = angr.Project(bin_path, auto_load_libs=False)
325 p = angr.Project(bin_path, auto_load_libs=False)
346 p = angr.Project(bin_path, auto_load_libs=False)
368 p = angr.Project(bin_path, auto_load_libs=False)
[all …]
/dports/math/clingo/clingo-5.5.1/cmake/
H A Dclingo_functions.cmake9 set(bin_path "${CMAKE_CURRENT_BINARY_DIR}/${directory}/${filename}") variable
10 file(MAKE_DIRECTORY "${bin_path}")
20 add_custom_target("gen${gen_count}" DEPENDS "${bin_path}/grammar.cc")
25 file(COPY "${gen_path}/" DESTINATION "${bin_path}" FILES_MATCHING PATTERN "*.*")
26 set("BISON_${filename}_OUTPUT_SOURCE" "${bin_path}/grammar.cc" PARENT_SCOPE)
27 … set("BISON_${filename}_OUTPUTS" "${bin_path}/grammar.cc" "${bin_path}/grammar.hh" PARENT_SCOPE)
37 set(bin_path "${CMAKE_CURRENT_BINARY_DIR}/${directory}") variable
39 file(MAKE_DIRECTORY "${bin_path}")
48 add_custom_target("gen${gen_count}" DEPENDS "${bin_path}/${filename}.hh")
53 file(COPY "${gen_path}/${filename}.hh" DESTINATION "${bin_path}")
[all …]
/dports/devel/elixir-distillery/distillery-1.5.2/test/
H A Dintegration_test.exs42 defp wait_for_app(bin_path) do
43 do_wait_for_app(bin_path, 10)
45 defp do_wait_for_app(bin_path, i) do
46 case System.cmd(bin_path, ["ping"]) do
54 do_wait_for_app(bin_path, i - 1)
83 assert File.exists?(bin_path)
94 assert :ok = wait_for_app(bin_path)
110 run_cmd(bin_path, ["stop"])
180 assert File.exists?(bin_path)
189 assert :ok = wait_for_app(bin_path)
[all …]
/dports/comms/py-xmodem/xmodem-0.4.5/test/functional/
H A Daccessories.py15 bin_path = _multi_which(('rb', 'lrb'))
16 assert bin_path is not None, (
18 "Try installing lrzsz package.".format(bin_path))
19 return bin_path
23 bin_path = _multi_which(('sb', 'lsb'))
24 assert bin_path is not None, (
26 "Try installing lrzsz package.".format(bin_path))
27 return bin_path
/dports/sysutils/ansible/ansible-4.7.0/ansible_collections/community/general/plugins/modules/cloud/misc/
H A Dterraform.py241 def get_version(bin_path): argument
250 if not os.path.exists(bin_path):
269 command = [bin_path, 'init', '-input=false']
287 def get_workspace_context(bin_path, project_path): argument
289 command = [bin_path, 'workspace', 'list', '-no-color']
310 def create_workspace(bin_path, project_path, workspace): argument
314 def select_workspace(bin_path, project_path, workspace): argument
318 def remove_workspace(bin_path, project_path, workspace): argument
378 bin_path = module.params.get('binary_path')
394 if bin_path is not None:
[all …]
/dports/sysutils/ansible/ansible-4.7.0/ansible_collections/community/general/plugins/modules/
H A Dterraform.py241 def get_version(bin_path): argument
250 if not os.path.exists(bin_path):
269 command = [bin_path, 'init', '-input=false']
287 def get_workspace_context(bin_path, project_path): argument
289 command = [bin_path, 'workspace', 'list', '-no-color']
310 def create_workspace(bin_path, project_path, workspace): argument
314 def select_workspace(bin_path, project_path, workspace): argument
318 def remove_workspace(bin_path, project_path, workspace): argument
378 bin_path = module.params.get('binary_path')
394 if bin_path is not None:
[all …]
/dports/sysutils/ansible2/ansible-2.9.27/lib/ansible/modules/cloud/misc/
H A Dterraform.py176 if not os.path.exists(bin_path):
194 def init_plugins(bin_path, project_path, backend_config): argument
195 command = [bin_path, 'init', '-input=false']
207 def get_workspace_context(bin_path, project_path): argument
209 command = [bin_path, 'workspace', 'list', '-no-color']
232 def create_workspace(bin_path, project_path, workspace): argument
236 def select_workspace(bin_path, project_path, workspace): argument
240 def remove_workspace(bin_path, project_path, workspace): argument
294 bin_path = module.params.get('binary_path')
305 if bin_path is not None:
[all …]
/dports/games/lwjgl/lwjgl-2df01dd/src/java/org/lwjgl/util/generator/
H A DGeneratorProcessor.java68 String bin_path = options.get("binpath"); in process() local
71 if ( bin_path == null ) { in process()
81 long generatorLM = getGeneratorLastModified(bin_path); in process()
103 private static long getGeneratorLastModified(final String bin_path) { in getGeneratorLastModified() argument
104 long lastModified = getDirectoryLastModified(bin_path, "/org/lwjgl/util/generator"); in getGeneratorLastModified()
105 …lastModified = Math.max(lastModified, getDirectoryLastModified(bin_path, "/org/lwjgl/util/generato… in getGeneratorLastModified()
106 …lastModified = Math.max(lastModified, getDirectoryLastModified(bin_path, "/org/lwjgl/util/generato… in getGeneratorLastModified()
107 …lastModified = Math.max(lastModified, getDirectoryLastModified(bin_path, "/org/lwjgl/util/generato… in getGeneratorLastModified()
112 private static long getDirectoryLastModified(final String bin_path, final String path) { in getDirectoryLastModified() argument
113 final File pck = new File(bin_path + path); in getDirectoryLastModified()
/dports/net/kea/kea-2.0.1/src/bin/netconf/tests/shtests/
H A Dnetconf_tests.sh.in77 bin_path="@abs_top_builddir@/src/bin/netconf"
95 printf "Running command %s.\n" "\"${bin_path}/${bin} -t ${CFG_FILE}\""
97 "${bin_path}/${bin}" "${parameter}"
114 printf "Running command %s.\n" "\"${bin_path}/${bin}\""
116 "${bin_path}/${bin}"
139 printf "Running command %s.\n" "\"${bin_path}/${bin} -t ${CFG_FILE}\""
141 "${bin_path}/${bin}" -t "${CFG_FILE}"
161 start_kea ${bin_path}/${bin}
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/clang/utils/check_cfc/
H A Dtest_check_cfc.py20 bin_path = r'/usr/bin'
26 bin_path, check_cfc.remove_dir_from_path(bin_path, bin_path))
31 [superstring_path, bin_path, space_path, bin_path])
32 stripped_path_var = check_cfc.remove_dir_from_path(path_var, bin_path)
34 self.assertNotIn(bin_path, stripped_path_var.split(os.pathsep))
39 check_cfc.remove_dir_from_path(r'/usr//bin', bin_path))
45 bin_path, check_cfc.remove_dir_from_path(path_var, r'/USR/BIN'))
49 bin_path, check_cfc.remove_dir_from_path(path_var, r'/USR/BIN'))
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/clang/utils/check_cfc/
H A Dtest_check_cfc.py20 bin_path = r'/usr/bin'
26 bin_path, check_cfc.remove_dir_from_path(bin_path, bin_path))
31 [superstring_path, bin_path, space_path, bin_path])
32 stripped_path_var = check_cfc.remove_dir_from_path(path_var, bin_path)
34 self.assertNotIn(bin_path, stripped_path_var.split(os.pathsep))
39 check_cfc.remove_dir_from_path(r'/usr//bin', bin_path))
45 bin_path, check_cfc.remove_dir_from_path(path_var, r'/USR/BIN'))
49 bin_path, check_cfc.remove_dir_from_path(path_var, r'/USR/BIN'))
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/clang/utils/check_cfc/
H A Dtest_check_cfc.py20 bin_path = r'/usr/bin'
26 bin_path, check_cfc.remove_dir_from_path(bin_path, bin_path))
31 [superstring_path, bin_path, space_path, bin_path])
32 stripped_path_var = check_cfc.remove_dir_from_path(path_var, bin_path)
34 self.assertNotIn(bin_path, stripped_path_var.split(os.pathsep))
39 check_cfc.remove_dir_from_path(r'/usr//bin', bin_path))
45 bin_path, check_cfc.remove_dir_from_path(path_var, r'/USR/BIN'))
49 bin_path, check_cfc.remove_dir_from_path(path_var, r'/USR/BIN'))
/dports/devel/llvm12/llvm-project-12.0.1.src/clang/utils/check_cfc/
H A Dtest_check_cfc.py20 bin_path = r'/usr/bin'
26 bin_path, check_cfc.remove_dir_from_path(bin_path, bin_path))
31 [superstring_path, bin_path, space_path, bin_path])
32 stripped_path_var = check_cfc.remove_dir_from_path(path_var, bin_path)
34 self.assertNotIn(bin_path, stripped_path_var.split(os.pathsep))
39 check_cfc.remove_dir_from_path(r'/usr//bin', bin_path))
45 bin_path, check_cfc.remove_dir_from_path(path_var, r'/USR/BIN'))
49 bin_path, check_cfc.remove_dir_from_path(path_var, r'/USR/BIN'))
/dports/devel/llvm11/llvm-11.0.1.src/tools/clang/utils/check_cfc/
H A Dtest_check_cfc.py20 bin_path = r'/usr/bin'
26 bin_path, check_cfc.remove_dir_from_path(bin_path, bin_path))
31 [superstring_path, bin_path, space_path, bin_path])
32 stripped_path_var = check_cfc.remove_dir_from_path(path_var, bin_path)
34 self.assertNotIn(bin_path, stripped_path_var.split(os.pathsep))
39 check_cfc.remove_dir_from_path(r'/usr//bin', bin_path))
45 bin_path, check_cfc.remove_dir_from_path(path_var, r'/USR/BIN'))
49 bin_path, check_cfc.remove_dir_from_path(path_var, r'/USR/BIN'))
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/clang/utils/check_cfc/
H A Dtest_check_cfc.py20 bin_path = r'/usr/bin'
26 bin_path, check_cfc.remove_dir_from_path(bin_path, bin_path))
31 [superstring_path, bin_path, space_path, bin_path])
32 stripped_path_var = check_cfc.remove_dir_from_path(path_var, bin_path)
34 self.assertNotIn(bin_path, stripped_path_var.split(os.pathsep))
39 check_cfc.remove_dir_from_path(r'/usr//bin', bin_path))
45 bin_path, check_cfc.remove_dir_from_path(path_var, r'/USR/BIN'))
49 bin_path, check_cfc.remove_dir_from_path(path_var, r'/USR/BIN'))
/dports/devel/llvm90/llvm-9.0.1.src/tools/clang/utils/check_cfc/
H A Dtest_check_cfc.py20 bin_path = r'/usr/bin'
26 bin_path, check_cfc.remove_dir_from_path(bin_path, bin_path))
31 [superstring_path, bin_path, space_path, bin_path])
32 stripped_path_var = check_cfc.remove_dir_from_path(path_var, bin_path)
34 self.assertNotIn(bin_path, stripped_path_var.split(os.pathsep))
39 check_cfc.remove_dir_from_path(r'/usr//bin', bin_path))
45 bin_path, check_cfc.remove_dir_from_path(path_var, r'/USR/BIN'))
49 bin_path, check_cfc.remove_dir_from_path(path_var, r'/USR/BIN'))
/dports/devel/llvm10/llvm-10.0.1.src/tools/clang/utils/check_cfc/
H A Dtest_check_cfc.py20 bin_path = r'/usr/bin'
26 bin_path, check_cfc.remove_dir_from_path(bin_path, bin_path))
31 [superstring_path, bin_path, space_path, bin_path])
32 stripped_path_var = check_cfc.remove_dir_from_path(path_var, bin_path)
34 self.assertNotIn(bin_path, stripped_path_var.split(os.pathsep))
39 check_cfc.remove_dir_from_path(r'/usr//bin', bin_path))
45 bin_path, check_cfc.remove_dir_from_path(path_var, r'/USR/BIN'))
49 bin_path, check_cfc.remove_dir_from_path(path_var, r'/USR/BIN'))
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/clang/utils/check_cfc/
H A Dtest_check_cfc.py20 bin_path = r'/usr/bin'
26 bin_path, check_cfc.remove_dir_from_path(bin_path, bin_path))
31 [superstring_path, bin_path, space_path, bin_path])
32 stripped_path_var = check_cfc.remove_dir_from_path(path_var, bin_path)
34 self.assertNotIn(bin_path, stripped_path_var.split(os.pathsep))
39 check_cfc.remove_dir_from_path(r'/usr//bin', bin_path))
45 bin_path, check_cfc.remove_dir_from_path(path_var, r'/USR/BIN'))
49 bin_path, check_cfc.remove_dir_from_path(path_var, r'/USR/BIN'))
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/clang/utils/check_cfc/
H A Dtest_check_cfc.py20 bin_path = r'/usr/bin'
26 bin_path, check_cfc.remove_dir_from_path(bin_path, bin_path))
31 [superstring_path, bin_path, space_path, bin_path])
32 stripped_path_var = check_cfc.remove_dir_from_path(path_var, bin_path)
34 self.assertNotIn(bin_path, stripped_path_var.split(os.pathsep))
39 check_cfc.remove_dir_from_path(r'/usr//bin', bin_path))
45 bin_path, check_cfc.remove_dir_from_path(path_var, r'/USR/BIN'))
49 bin_path, check_cfc.remove_dir_from_path(path_var, r'/USR/BIN'))
/dports/lang/clang-mesa/clang-13.0.1.src/utils/check_cfc/
H A Dtest_check_cfc.py20 bin_path = r'/usr/bin'
26 bin_path, check_cfc.remove_dir_from_path(bin_path, bin_path))
31 [superstring_path, bin_path, space_path, bin_path])
32 stripped_path_var = check_cfc.remove_dir_from_path(path_var, bin_path)
34 self.assertNotIn(bin_path, stripped_path_var.split(os.pathsep))
39 check_cfc.remove_dir_from_path(r'/usr//bin', bin_path))
45 bin_path, check_cfc.remove_dir_from_path(path_var, r'/USR/BIN'))
49 bin_path, check_cfc.remove_dir_from_path(path_var, r'/USR/BIN'))
/dports/lang/rust/rustc-1.58.1-src/src/llvm-project/clang/utils/check_cfc/
H A Dtest_check_cfc.py20 bin_path = r'/usr/bin'
26 bin_path, check_cfc.remove_dir_from_path(bin_path, bin_path))
31 [superstring_path, bin_path, space_path, bin_path])
32 stripped_path_var = check_cfc.remove_dir_from_path(path_var, bin_path)
34 self.assertNotIn(bin_path, stripped_path_var.split(os.pathsep))
39 check_cfc.remove_dir_from_path(r'/usr//bin', bin_path))
45 bin_path, check_cfc.remove_dir_from_path(path_var, r'/USR/BIN'))
49 bin_path, check_cfc.remove_dir_from_path(path_var, r'/USR/BIN'))

12345678910>>...45