- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 161 for mktemp (0.23 sec)
-
cni/test/install_cni.go
) { wd := env.IstioSrc + "/cni/test" testWorkRootDir := getEnv("TEST_WORK_ROOTDIR", "/tmp") tempCNIConfDir := mktemp(testWorkRootDir, "cni-conf-", t) defer rmDir(tempCNIConfDir, t) tempCNIBinDir := mktemp(testWorkRootDir, "cni-bin-", t) defer rmDir(tempCNIBinDir, t) tempK8sSvcAcctDir := mktemp(testWorkRootDir, "kube-svcacct-", t) defer rmDir(tempK8sSvcAcctDir, t)
Go - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Fri Jan 26 20:34:28 GMT 2024 - 12.5K bytes - Viewed (0) -
tests/test_tutorial/test_sql_databases/test_testing_databases.py
import pytest from ...utils import needs_pydanticv1 # TODO: pv2 add version with Pydantic v2 @needs_pydanticv1 def test_testing_dbs(tmp_path_factory: pytest.TempPathFactory): tmp_path = tmp_path_factory.mktemp("data") cwd = os.getcwd() os.chdir(tmp_path) test_db = Path("./test.db") if test_db.is_file(): # pragma: nocover test_db.unlink()
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Jul 07 17:12:13 GMT 2023 - 788 bytes - Viewed (0) -
tests/test_tutorial/test_sql_databases/test_testing_databases_py310.py
@needs_py310 # TODO: pv2 add version with Pydantic v2 @needs_pydanticv1 def test_testing_dbs_py39(tmp_path_factory: pytest.TempPathFactory): tmp_path = tmp_path_factory.mktemp("data") cwd = os.getcwd() os.chdir(tmp_path) test_db = Path("./test.db") if test_db.is_file(): # pragma: nocover test_db.unlink()
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Jul 07 17:12:13 GMT 2023 - 825 bytes - Viewed (0) -
bin/update_ztunnel.sh
SCRIPTPATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" ROOTDIR=$(dirname "${SCRIPTPATH}") cd "${ROOTDIR}" # Get the sha of top commit # $1 = repo function getSha() { local dir result dir=$(mktemp -d) git clone --depth=1 "https://github.com/istio/${1}.git" -b "${UPDATE_BRANCH}" "${dir}" result="$(cd "${dir}" && git rev-parse HEAD)" rm -rf "${dir}" echo "${result}" }
Shell Script - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Tue Apr 11 17:50:01 GMT 2023 - 1.1K bytes - Viewed (0) -
.github/workflows/maven_build_itself.yml
if [ -f ${{ env.TAR_BALL }} ]; then temp_dir=$(mktemp -d) tar -xzf ${{ env.TAR_BALL }} -C "$temp_dir" --strip 1 maven_bin_dir=$temp_dir/bin if [ -d $maven_bin_dir ]; then echo "tar.gz file \"${{ env.TAR_BALL }}\" successfully extracted in temporarily directory \"$temp_dir.\"" echo "TEMP_MAVEN_BIN_DIR=$maven_bin_dir" >> $GITHUB_ENV else
Others - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Sun Mar 03 21:28:30 GMT 2024 - 2.6K bytes - Viewed (0) -
ci/official/utilities/repack_libtensorflow.sh
# # Arguments: # src_jar - path to the original srcjar # dest_jar - path to the destination # Returns: # None function cp_normalized_srcjar() { src_jar="$1" dest_jar="$2" tmp_dir=$(mktemp -d) cp "${src_jar}" "${tmp_dir}/orig.jar" pushd "${tmp_dir}" # Extract any src/ files jar -xf "${tmp_dir}/orig.jar" src/ # Extract any org/ files under src/main/java
Shell Script - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Wed Jul 12 19:47:53 GMT 2023 - 2.6K bytes - Viewed (0) -
tests/test_tutorial/test_sql_databases/test_testing_databases_py39.py
from ...utils import needs_py39, needs_pydanticv1 @needs_py39 # TODO: pv2 add version with Pydantic v2 @needs_pydanticv1 def test_testing_dbs_py39(tmp_path_factory: pytest.TempPathFactory): tmp_path = tmp_path_factory.mktemp("data") cwd = os.getcwd() os.chdir(tmp_path) test_db = Path("./test.db") if test_db.is_file(): # pragma: nocover test_db.unlink()
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Jul 07 17:12:13 GMT 2023 - 822 bytes - Viewed (0) -
common/scripts/gobuild.sh
LDFLAGS="" fi # gather buildinfo if not already provided # For a release build BUILDINFO should be produced # at the beginning of the build and used throughout if [[ -z ${BUILDINFO} ]];then BUILDINFO=$(mktemp) "${SCRIPTPATH}/report_build_info.sh" > "${BUILDINFO}" fi # BUILD LD_EXTRAFLAGS LD_EXTRAFLAGS="" while read -r line; do LD_EXTRAFLAGS="${LD_EXTRAFLAGS} -X ${line}" done < "${BUILDINFO}"
Shell Script - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Fri Oct 21 14:08:46 GMT 2022 - 2.4K bytes - Viewed (0) -
ci/official/utilities/setup_docker.sh
# The container is not cleaned up automatically! Remove it with: # docker rm tf if ! docker container inspect tf >/dev/null 2>&1 ; then # Pass all existing TFCI_ variables into the Docker container env_file=$(mktemp) env | grep ^TFCI_ > "$env_file" docker run $TFCI_DOCKER_ARGS --name tf -w "$TFCI_GIT_DIR" -itd --rm \ -v "$TFCI_GIT_DIR:$TFCI_GIT_DIR" \ --env-file "$env_file" \ "$TFCI_DOCKER_IMAGE" \ bash
Shell Script - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Fri Jan 26 15:27:59 GMT 2024 - 1.8K bytes - Viewed (0) -
bin/retry.sh
function fail { echo "${1}" >&2 exit 1 } function isatty() { if [ -t 1 ] ; then return 0 else return 1 fi } function retry { local tmpFile tmpFile=$(mktemp) trap 'rm -f "${tmpFile}"' EXIT local failureRegex="$1" shift local n=1 local max=5 while true; do unset SHELL # Don't let environment control which shell to use if isatty; then
Shell Script - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Fri Jun 11 16:08:08 GMT 2021 - 2K bytes - Viewed (0)