Home
last modified time | relevance | path

Searched refs:old_path (Results 1 – 4 of 4) sorted by relevance

/tools/testing/selftests/filesystems/fat/
Drun_fat_tests.sh44 local old_path="${MNT_PATH}/old_file"
47 echo old | sudo tee "${old_path}" >/dev/null 2>&1
49 sudo "${rename_exchange}" "${old_path}" "${new_path}" >/dev/null 2>&1
51 grep new "${old_path}" >/dev/null 2>&1
59 local old_path="${MNT_PATH}/old_file"
63 echo old | sudo tee "${old_path}" >/dev/null 2>&1
65 sudo "${rename_exchange}" "${old_path}" "${new_path}" >/dev/null 2>&1
67 grep new "${old_path}" >/dev/null 2>&1
/tools/lib/subcmd/
Dexec-cmd.c150 const char *old_path = getenv("PATH"); in setup_path() local
158 if (old_path) in setup_path()
159 astrcat(&new_path, old_path); in setup_path()
/tools/testing/kunit/
Dkunit_kernel.py296 old_path = get_old_kunitconfig_path(build_dir)
297 if os.path.exists(old_path):
298 os.remove(old_path) # write_to_file appends to the file
299 self._kconfig.write_to_file(old_path)
303 old_path = get_old_kunitconfig_path(build_dir)
304 if not os.path.exists(old_path):
307 old_kconfig = kunit_config.parse_file(old_path)
/tools/perf/
Dbuiltin-help.c333 const char *old_path = getenv("MANPATH"); in setup_man_path() local
339 if (asprintf(&new_path, "%s:%s", system_path(PERF_MAN_PATH), old_path ?: "") > 0) { in setup_man_path()