Home
last modified time | relevance | path

Searched refs:sudo (Results 1 – 25 of 591) sorted by relevance

12345678910>>...24

/external/rust/crates/grpcio-sys/grpc/tools/gce/
Dlinux_kokoro_performance_worker_init.sh22 sudo apt-get update
25 sudo apt-get install -y openjdk-8-jdk
26 sudo apt-get install -y unzip lsof
28 sudo apt-get install -y \
65 sudo apt-get install -y google-perftools libgoogle-perftools-dev
68 sudo apt-get install -y netperf
71 sudo apt-get install -y python-psutil python3-psutil
74 sudo apt-get install -y google-cloud-sdk
77 sudo apt-get install -y libgtest-dev libc++-dev clang
80 sudo pip install --upgrade pip==19.3.1
[all …]
/external/grpc-grpc/tools/gce/
Dlinux_performance_worker_init.sh22 sudo apt-get update
25 sudo apt-get install -y openjdk-8-jdk
26 sudo apt-get install -y unzip lsof
28 sudo apt-get install -y \
66 sudo apt-get install -y google-perftools libgoogle-perftools-dev
69 sudo apt-get install -y netperf
72 sudo apt-get install -y libgflags-dev libgtest-dev libc++-dev clang
75 sudo pip install --upgrade pip==10.0.1
76 sudo pip install tabulate
77 sudo pip install google-api-python-client
[all …]
Dlinux_kokoro_performance_worker_init.sh22 sudo apt-get update
25 sudo apt-get install -y openjdk-8-jdk
26 sudo apt-get install -y unzip lsof
28 sudo apt-get install -y \
66 sudo apt-get install -y google-perftools libgoogle-perftools-dev
69 sudo apt-get install -y netperf
72 sudo apt-get install -y libgflags-dev libgtest-dev libc++-dev clang
75 sudo pip install --upgrade pip==10.0.1
76 sudo pip install tabulate
77 sudo pip install google-api-python-client
[all …]
Dlinux_worker_init.sh23 sudo dd if=/dev/zero of=/swap bs=1024 count=10485760
24 sudo chmod 600 /swap
25 sudo mkswap /swap
26 sudo sed -i '$ a\/swap none swap sw 0 0' /etc/fstab
27 sudo swapon -a
30 sudo apt-get update
33 sudo apt-get install -y openjdk-8-jre
34 sudo apt-get install -y unzip lsof
40 sudo adduser jenkins --disabled-password || true
43 sudo usermod -aG docker jenkins
[all …]
/external/libwebsockets/scripts/
Dtravis_install.sh7 sudo apt-get update -qq
11sudo apt-get install -y -qq realpath libjemalloc1 libev4 libuv-dev libdbus-1-dev valgrind mosquitto
12 sudo apt-get remove python-six
13 sudo pip install "six>=1.9"
14 sudo pip install "Twisted==16.0.0"
15 sudo pip install "pyopenssl>=0.14"
16 sudo pip install autobahntestsuite
19 sudo tar xf /tmp/openssl.tar.bz2
20 sudo ldconfig
21 sudo update-ca-certificates
[all …]
/external/zstd/contrib/linux-kernel/
Dbtrfs-extract-benchmark.sh30 sudo umount /mnt/btrfs 2> /dev/null > /dev/null || true
31 sudo mount -t btrfs $@ /dev/sda3 /mnt/btrfs
32 sudo rm -rf /mnt/btrfs/*
34 sudo umount /mnt/btrfs
35 sudo mount -t btrfs $@ /dev/sda3 /mnt/btrfs
44 $(sudo du /mnt/btrfs -b -d 0 | tr '\t' '\n' | head -n 1);
47 sudo umount /mnt/btrfs
48 sudo mount -t btrfs $@ /dev/sda3 /mnt/btrfs
54 sudo rm /mnt/btrfs/$BENCHMARK_FILE
56 sudo umount /mnt/btrfs
[all …]
Dbtrfs-benchmark.sh30 sudo umount /mnt/btrfs 2> /dev/null > /dev/null || true
31 sudo mount -t btrfs $@ /dev/sda3 /mnt/btrfs
32 sudo rm -rf /mnt/btrfs/*
34 sudo umount /mnt/btrfs
35 sudo mount -t btrfs $@ /dev/sda3 /mnt/btrfs
44 $(sudo du /mnt/btrfs -b -d 0 | tr '\t' '\n' | head -n 1);
47 sudo umount /mnt/btrfs
48 sudo mount -t btrfs $@ /dev/sda3 /mnt/btrfs
51 time sudo tar -c /mnt/btrfs 2> /dev/null | wc -c > /dev/null
53 sudo rm -rf /mnt/btrfs/*
[all …]
Dsquashfs-benchmark.sh20 sudo rm -f $BENCHMARK_FS 2> /dev/null > /dev/null || true
21 sudo umount /mnt/squashfs 2> /dev/null > /dev/null || true
26 time sudo mksquashfs $BENCHMARK_DIR $BENCHMARK_FS $@ 2> /dev/null > /dev/null
30 $(sudo du -sx --block-size=1 $BENCHMARK_DIR | cut -f1) \
31 $(sudo du -sx --block-size=1 $BENCHMARK_FS | cut -f1);
34 sudo mount -t squashfs $BENCHMARK_FS /mnt/squashfs
37 time sudo tar -c /mnt/squashfs 2> /dev/null | wc -c > /dev/null
39 sudo umount /mnt/squashfs
/external/libiio/src/CI/travis/
Dsetup_qemu_for_arm.sh22 sudo apt-get update
23 sudo apt-get install -qq -y qemu-user-static binfmt-support sbuild wget debian-archive-keyring ubun…
26 sudo mkdir -p ${QEMU_DIR}
27 sudo chown ${USER} /tmp/qemu
43 sudo apt-get install -qq -y debootstrap
46sudo add-apt-repository -r "deb http://archive.ubuntu.com/ubuntu $(lsb_release -cs)-updates main r…
47 sudo apt-get install -qq -y -t $(lsb_release -cs)-updates debootstrap
50 sudo dpkg --install /tmp/debootstrap_1.0.111_all.deb
54 sudo mkdir ${CHROOT_DIR}
55 sudo debootstrap --foreign --no-check-gpg --include=fakeroot,build-essential --arch=${CHROOT_ARCH} …
[all …]
/external/bcc/tests/
Dwrapper.sh.in19 sudo ip netns delete $ns
26 sudo ip netns add $ns
27 sudo ip link add $ns.in type veth peer name $ns.out
28 sudo ip link set $ns.in netns $ns
29 sudo ip netns exec $ns ip link set $ns.in name eth0
30 sudo ip netns exec $ns ip addr add dev eth0 172.16.1.2/24
31 sudo ip netns exec $ns ip link set eth0 up
32 sudo ip netns exec $ns ethtool -K eth0 tx off
33 sudo ip addr add dev $ns.out 172.16.1.1/24
34 sudo ip link set $ns.out up
[all …]
/external/bcc/tests/python/
DCMakeLists.txt23 COMMAND ${TEST_WRAPPER} py_bpf_prog sudo ${CMAKE_CURRENT_SOURCE_DIR}/test_bpf_log.py)
33 …COMMAND ${TEST_WRAPPER} py_trace1 sudo ${CMAKE_CURRENT_SOURCE_DIR}/test_trace1.py test_trace1.b kp…
35 COMMAND ${TEST_WRAPPER} py_trace2 sudo ${CMAKE_CURRENT_SOURCE_DIR}/test_trace2.py)
37 COMMAND ${TEST_WRAPPER} py_trace3_c sudo ${CMAKE_CURRENT_SOURCE_DIR}/test_trace3.py test_trace3.c)
39 COMMAND ${TEST_WRAPPER} py_trace4 sudo ${CMAKE_CURRENT_SOURCE_DIR}/test_trace4.py)
41 COMMAND ${TEST_WRAPPER} py_probe_count sudo ${CMAKE_CURRENT_SOURCE_DIR}/test_probe_count.py)
43 COMMAND ${TEST_WRAPPER} py_test_debuginfo sudo ${CMAKE_CURRENT_SOURCE_DIR}/test_debuginfo.py)
45 COMMAND ${TEST_WRAPPER} py_brb_c sudo ${CMAKE_CURRENT_SOURCE_DIR}/test_brb.py test_brb.c)
47 COMMAND ${TEST_WRAPPER} py_brb2_c sudo ${CMAKE_CURRENT_SOURCE_DIR}/test_brb2.py test_brb2.c)
49 COMMAND ${TEST_WRAPPER} py_clang sudo ${CMAKE_CURRENT_SOURCE_DIR}/test_clang.py)
[all …]
/external/llvm-project/lldb/scripts/lldb-test-qemu/
Drootfs.sh25 sudo apt update
70 sudo apt-get install debootstrap qemu-user-static schroot qemu-utils
81 sudo mount -o loop $image_name.img $image_name.dir
83 sudo qemu-debootstrap --arch $rfs_arch $rfs_distro $image_name.dir
85 sudo chroot $image_name.dir locale-gen en_US.UTF-8
87 sudo chroot $image_name.dir sed -i \
90 sudo chroot $image_name.dir sed -i '$ a\nameserver 8.8.8.8' /etc/resolv.conf
92 sudo chroot $image_name.dir apt update
93 sudo chroot $image_name.dir apt -y install ssh bash-completion
94 sudo chroot $image_name.dir adduser --gecos "" $USER
[all …]
/external/libffi/.travis/
Dinstall.sh20 sudo apt-get clean # clear the cache
21 sudo apt-get update
26 sudo apt-get install qemu-user-static
29 sudo apt-get install -y qemu-user-static g++-5-hppa-linux-gnu
32 sudo apt-get install gcc-multilib g++-multilib;
35 …echo 'deb https://repos.moxielogic.org:7114/MoxieLogic moxiedev main' | sudo tee -a /etc/apt/sourc…
36 sudo apt-get clean # clear the cache
37 sudo apt-get update ## -qq
38 sudo apt-get update
39sudo apt-get install -y --allow-unauthenticated moxielogic-moxie-elf-gcc moxielogic-moxie-elf-gcc-…
[all …]
/external/lz4/.circleci/images/primary/
DDockerfile3 RUN sudo apt-get -y -qq update
4 RUN sudo apt-get -y install software-properties-common
5 RUN sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
6 RUN sudo apt-get -y install cmake
7 RUN sudo apt-get -y install qemu-system-ppc qemu-user-static qemu-system-arm
8 RUN sudo apt-get -y install libc6-dev-armel-cross libc6-dev-arm64-cross libc6-dev-i386
9 RUN sudo apt-get -y install clang clang-tools
10 RUN sudo apt-get -y install gcc-5 gcc-5-multilib gcc-6
11 RUN sudo apt-get -y install valgrind
12 RUN sudo apt-get -y install gcc-multilib-powerpc-linux-gnu gcc-powerpc-linux-gnu gcc-arm-linux-gnue…
/external/swiftshader/tests/kokoro/gcp_ubuntu/
Dcontinuous.sh9 sudo aptitude purge -yq cmake
10 wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/null | sudo apt-key add -
11 sudo apt-add-repository 'deb https://apt.kitware.com/ubuntu/ xenial main'
12 sudo aptitude update -yq
13 sudo aptitude install -yq cmake
17 sudo add-apt-repository ppa:ubuntu-toolchain-r/test
18 sudo aptitude update -yq
19 sudo aptitude install -yq gcc-9 g++-9
20 sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-9 100 --slave /usr/bin/g++ g++ /us…
21 sudo update-alternatives --set gcc "/usr/bin/gcc-9"
/external/ltp/testcases/kernel/syscalls/utimensat/
Dutimensat_tests.sh78 sudo $s_arg chattr -ai $FILE || return $?
79 sudo $s_arg rm -f $FILE || return $?
84 sudo $s_arg -u $test_user touch $FILE || return $?
100 sudo $s_arg chown $2 $FILE || return $?
103 sudo $s_arg chmod $3 $FILE || return $?
106 sudo $s_arg chattr $4 $FILE || return $?
112 if ! sudo $s_arg lsattr -l $FILE | sed 's/, /,/g' | awk '{print "EFAs=" $2}'
229 sudo $s_arg -u $test_user $CMD > $RESULT_FILE
238 sudo $s_arg -u $test_user $CMD > $RESULT_FILE
251 sudo $s_arg -u $test_user $CMD > $RESULT_FILE
[all …]
/external/vboot_reference/scripts/image_signing/
Dalign_rootfs.sh42 sudo mount -o loop "${dst_root_fs}" "${dst_root_fs_dir}" -o loop
49 sudo find "${dst_root_fs_dir}" -xdev -type f |
51 immutable=$(sudo lsattr "${file}" | cut -d' ' -f1 | grep -q i ; echo $?)
54 sudo chattr -i "${file}"
61 sudo rsync -v -a -H -A -x --force --inplace --numeric-ids --delete \
66 sudo chattr +i "${file}"
86 sudo dd if=/dev/zero of="${root_fs_dir}/filler" oflag=sync bs=4096 || true
87 sudo rm -f "${root_fs_dir}/filler"
88 sudo sync
/external/bcc/
DINSTALL.md60 sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 4052245BD4284CDD
61 echo "deb https://repo.iovisor.org/apt/$(lsb_release -cs) $(lsb_release -cs) main" | sudo tee /etc/…
62 sudo apt-get update
63 sudo apt-get install bcc-tools libbcc-examples linux-headers-$(uname -r)
70 echo "deb [trusted=yes] https://repo.iovisor.org/apt/xenial xenial-nightly main" | sudo tee /etc/ap…
71 sudo apt-get update
72 sudo apt-get install bcc-tools libbcc-examples linux-headers-$(uname -r)
81 sudo apt-get install bpfcc-tools linux-headers-$(uname -r)
84 The tools are installed in /sbin with a -bpfcc extension. Try running `sudo opensnoop-bpfcc`.
92 sudo dnf config-manager --add-repo=http://alt.fedoraproject.org/pub/alt/rawhide-kernel-nodebug/fedo…
[all …]
/external/elfutils/src/
Dmake-debug-archive.in17 SUDO=${SUDO:-/usr/bin/sudo}
56 sudo=
65 x--sudo) sudo=$SUDO ;;
71 if [ $kernel = no ] && [ $force_kernel = yes -o -n "$sudo" ]; then
100 [ ! -e "$archive" ] || $sudo $RM -f "$archive" || exit
117 if [ -z "$sudo" ]; then
130 $sudo $MV -f "$new_archive" "$archive"
/external/vboot_reference/tests/
Dtest_using_qemu.sh21 sudo mkdir -p "${SYSROOT}/proc" "${SYSROOT}/dev"
22 sudo mount --bind /proc "${SYSROOT}/proc"
23 sudo mount --bind /dev "${SYSROOT}/dev"
27 sudo chroot ${SYSROOT} ${QEMU_RUN} -drop-ld-preload \
36 sudo umount -l "${SYSROOT}/proc"
37 sudo umount -l "${SYSROOT}/dev"
/external/rust/crates/grpcio-sys/grpc/tools/internal_ci/helper_scripts/
Dprepare_build_linux_rc30sudo sed -i -E "s|ExecStart=(.*)//|EnvironmentFile=/etc/default/docker\nExecStart=\nExecStart=\1//…
31 sudo systemctl daemon-reload
32 echo "DOCKER_OPTS=\"${GRPC_DOCKER_OPTS}\"" | sudo tee --append /etc/default/docker
33 sudo systemctl restart docker.service
35 echo "DOCKER_OPTS=\"\${DOCKER_OPTS} ${GRPC_DOCKER_OPTS}\"" | sudo tee --append /etc/default/docker
36 sudo service docker restart
/external/igt-gpu-tools/benchmarks/ezbench.d/
Dgem_busy.test2 sudo -n true || return 1
8 eval "${name}_run() { sudo $IGT_BENCHMARKS/gem_busy $mode -e $ring -r \$1 ; }"
12 eval "${name}_run() { sudo $IGT_BENCHMARKS/gem_busy $mode -f -e $ring -r \$1 ; }"
16 eval "${name}_run() { sudo $IGT_BENCHMARKS/gem_busy $mode -w -e $ring -r \$1 ; }"
20 eval "${name}_run() { sudo $IGT_BENCHMARKS/gem_busy $mode -w -f -e $ring -r \$1 ; }"
24 eval "${name}_run() { sudo $IGT_BENCHMARKS/gem_busy $mode -d -e $ring -r \$1 ; }"
28 eval "${name}_run() { sudo $IGT_BENCHMARKS/gem_busy $mode -d -f -e $ring -r \$1 ; }"
32 eval "${name}_run() { sudo $IGT_BENCHMARKS/gem_busy $mode -s -e $ring -r \$1 ; }"
36 eval "${name}_run() { sudo $IGT_BENCHMARKS/gem_busy $mode -s -f -e $ring -r \$1 ; }"
/external/protobuf/kokoro/linux/benchmark/
Dbuild.sh6 sudo apt-get update && sudo apt-get install -y --force-yes php5
7 sudo ln -sf /usr/include/x86_64-linux-gnu/gmp.h /usr/include/gmp.h
11 sudo mv composer.phar /usr/local/bin/composer
19 make -j8 && sudo make install && make clean
22 sudo cp phpunit /usr/local/php-7.2/bin
23 sudo apt-get install -y --force-yes valgrind
/external/google-breakpad/src/third_party/libdisasm/swig/
DMakefile38 cd python && sudo make -f Makefile-swig install
41 cd ruby && sudo make -f Makefile-swig install
44 cd perl && sudo make -f Makefile-swig install
47 cd tcl && sudo make -f Makefile-swig install
54 cd python && sudo make -f Makefile-swig uninstall
57 cd ruby && sudo make -f Makefile-swig uninstall
60 cd perl && sudo make -f Makefile-swig uninstall
63 cd tcl && sudo make -f Makefile-swig uninstall
/external/libcap/pam_cap/
DMakefile34 sudo ./test_pam_cap root 0x0 0x0 0x0 config=./capability.conf
35 sudo ./test_pam_cap root 0x0 0x0 0x0 config=./sudotest.conf
36 sudo ./test_pam_cap alpha 0x0 0x0 0x0 config=./capability.conf
37 sudo ./test_pam_cap alpha 0x0 0x1 0x80 config=./sudotest.conf
38 sudo ./test_pam_cap beta 0x0 0x1 0x0 config=./sudotest.conf
39 sudo ./test_pam_cap gamma 0x0 0x0 0x81 config=./sudotest.conf
40 sudo ./test_pam_cap delta 0x41 0x80 0x41 config=./sudotest.conf

12345678910>>...24