Home
last modified time | relevance | path

Searched +full:python3 +full:- +full:dev (Results 1 – 25 of 46) sorted by relevance

12

/freebsd/sys/contrib/openzfs/.github/workflows/scripts/
H A Dqemu-3-deps-vm.sh11 set -eu
14 echo "##[group]Running pacman -Syu"
16 sudo pacman -Syu --noconfirm
20 sudo pacman -Sy --noconfirm base-devel bc cpio cryptsetup dhclient dkms \
21 fakeroot fio gdb inetutils jq less linux linux-headers lsscsi nfs-utils \
22 parted pax perf python-packaging python-setuptools qemu-guest-agent ksh \
23 samba sysstat rng-tools rsync wget xxhash
30 echo "##[group]Running apt-get update+upgrade"
31 sudo apt-get update -y
32 sudo apt-get upgrade -y
[all …]
/freebsd/sys/contrib/openzfs/contrib/debian/
H A Dcontrol1 Source: openzfs-linux
4 Maintainer: ZFS on Linux specific mailing list <zfs-discuss@list.zfsonlinux.org>
5 Build-Depends: debhelper-compat (= 12),
6 dh-python,
7 dh-sequence-dkms | dkms (>> 2.1.1.2-5),
8 libaio-dev,
9 libblkid-dev,
10 libcurl4-openssl-dev,
11 libelf-dev,
12 libpam0g-dev,
[all …]
H A Drules.in1 #!/usr/bin/make -f
5 LSB_DISTRIBUTOR := $(shell lsb_release -is)
7 LINUX_MIN := $(shell awk '/Linux-Minimum:/{print $$2}' META)
8 LINUX_NEXT := $(shell awk -F'[ .]' '/Linux-Maximum:/{print $$2 "." $$3+1}' META)
10 DKMSFILES := module include config zfs.release.in autogen.sh copy-builtin META AUTHORS \
14 KVERS=$(shell uname -r)
17 non_epoch_version=$(shell echo $(KVERS) | perl -pe 's/^\d+://')
18 PACKAGE=openzfs-zfs
19 pmodules = $(PACKAGE)-modules-$(non_epoch_version)
23 NUM_CPUS = $(shell nproc 2>/dev/null)
[all …]
H A DMakefile.am7 dist_noinst_DATA += %D%/not-installed
8 dist_noinst_DATA += %D%/openzfs-libnvpair3.docs
9 dist_noinst_DATA += %D%/openzfs-libnvpair3.install.in
10 dist_noinst_DATA += %D%/openzfs-libpam-zfs.install
11 dist_noinst_DATA += %D%/openzfs-libpam-zfs.postinst
12 dist_noinst_DATA += %D%/openzfs-libpam-zfs.prerm
13 dist_noinst_DATA += %D%/openzfs-libuutil3.docs
14 dist_noinst_DATA += %D%/openzfs-libuutil3.install.in
15 dist_noinst_DATA += %D%/openzfs-libzfs6.docs
16 dist_noinst_DATA += %D%/openzfs-libzfs6.install.in
[all …]
/freebsd/sys/contrib/openzfs/.github/workflows/
H A Dzfs-tests.yml1 name: zfs-tests-sanity
9 runs-on: ubuntu-latest
11 - uses: actions/checkout@v2
14 - name: Install dependencies
16 sudo apt-get update
17 sudo apt-get install --yes -qq build-essential autoconf libtool gdb lcov \
20 nfs-kernel-server samba rng-tools xz-utils \
21 zlib1g-dev uuid-dev libblkid-dev libselinux-dev \
22 xfslibs-dev libattr1-dev libacl1-dev libudev-dev libdevmapper-dev \
23 libssl-dev libffi-dev libaio-dev libelf-dev libmount-dev \
[all …]
/freebsd/tools/test/stress2/misc/
H A Dpoll.sh8 # $ procstat -k 19529
10 # 19529 101381 python3.7 - ... _sleep kqueue_kevent kern_kevent_fp kern_kevent kern_kevent_generic …
11 # 19529 101630 python3.7 - ... _sleep pipe_read dofileread kern_readv sys_read amd64_syscall fast_s…
12 # 19529 101631 python3.7 - ... _sleep umtxq_sleep do_sem2_wait __umtx_op_sem2_wait amd64_syscall fa…
17 [ -z "`type python3 2>/dev/null`" ] && exit 0
19 #!/usr/local/bin/python3
44 cpuset -l 0 /tmp/poll.py > $log &
47 s1=`wc -l < $log`
49 s2=`wc -l < $log`
50 while pgrep -qf poll.py; do pkill -f poll.py; done
[all …]
/freebsd/crypto/libecc/.github/workflows/
H A Dlibecc_python_tests.yml8 runs-on: ubuntu-22.04
10 #max-parallel: 10
17 - name: checkout repository
21 - name: libecc python tests
32 sudo apt-get update;
33 sudo apt-get -y install python2 libomp-dev;
35 # Python3
36 …echo "y" | python3 scripts/expand_libecc.py --remove-all && PYTHON=python3 sh scripts/gen_curves_t…
38 echo "y" | python3 scripts/expand_libecc.py --remove-all && make clean;
40 …echo "y" | python2 scripts/expand_libecc.py --remove-all && PYTHON=python2 sh scripts/gen_curves_t…
[all …]
/freebsd/sbin/ping/tests/
H A Dping_test.sh2 # SPDX-License-Identifier: BSD-2-Clause
31 if ! getaddrinfo -f inet localhost 1>/dev/null 2>&1; then
37 if ! getaddrinfo -f inet6 localhost 1>/dev/null 2>&1; then
50 atf_check -s exit:0 -o save:std.out -e empty \
51 ping -4 -c 1 -s 56 -t 1 localhost
58 atf_set "descr" "Check that ping -S 127.0.0.1 localhost succeeds"
64 atf_check -s exit:0 -o save:std.out -e empty \
65 ping -c 1 -s 56 -t 1 -S 127.0.0.1 localhost
77 atf_check -s exit:0 -o save:std.out -e empty \
78 ping -6 -c 1 -s 8 -t 1 localhost
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_user/misc/
H A Darc_summary_001_pos.ksh1 #! /bin/ksh -p
2 # SPDX-License-Identifier: CDDL-1.0
11 # or https://opensource.org/licenses/CDDL-1.0.
31 is_freebsd && ! python3 -c 'import sysctl' 2>/dev/null && log_unsupported "python3 sysctl module mi…
36 set -o pipefail
38 for arg in "" "-a" "-d" "-p 1" "-g" "-s arc" "-r"; do
39 log_must eval "arc_summary $arg > /dev/null"
42 log_must eval "arc_summary | head > /dev/null"
43 log_must eval "arc_summary | head -1 > /dev/null"
H A Darc_summary_002_neg.ksh1 #!/bin/ksh -p
2 # SPDX-License-Identifier: CDDL-1.0
11 # or https://opensource.org/licenses/CDDL-1.0.
31 is_freebsd && ! python3 -c 'import sysctl' 2>/dev/null && log_unsupported "python3 sysctl module mi…
35 for arg in "-x" "-5" "-p 7" "--err" "-@"; do
36 log_mustnot eval "arc_summary $arg > /dev/null"
H A Dzilstat_001_pos.ksh1 #!/bin/ksh -p
2 # SPDX-License-Identifier: CDDL-1.0
11 # or https://opensource.org/licenses/CDDL-1.0.
26 is_freebsd && ! python3 -c 'import sysctl' 2>/dev/null && log_unsupported "python3 sysctl module mi…
28 set -A args "" "-s \",\"" "-v" \
29 "-f time,cwc,imnb,imsb"
33 typeset -i i=0
34 while [[ $i -lt ${#args[*]} ]]; do
35 log_must eval "zilstat ${args[i]} > /dev/null"
H A Darcstat_001_pos.ksh1 #!/bin/ksh -p
2 # SPDX-License-Identifier: CDDL-1.0
11 # or https://opensource.org/licenses/CDDL-1.0.
31 is_freebsd && ! python3 -c 'import sysctl' 2>/dev/null && log_unsupported "python3 sysctl module mi…
33 set -A args "" "-s \",\"" "-x" "-v" \
34 "-f time,hit%,dh%,ph%,mh%"
38 typeset -i i=0
39 while [[ $i -lt ${#args[*]} ]]; do
40 log_must eval "arcstat ${args[i]} > /dev/null"
/freebsd/crypto/krb5/.github/workflows/
H A Dbuild.yml10 runs-on: ${{ matrix.os }}
12 fail-fast: false
14 name: [linux-clang, linux-clang-openssl, linux-gcc]
16 - name: linux-clang
17 os: ubuntu-latest
19 makevars: CPPFLAGS=-Werror
20 configureopts: --enable-asan
21 - name: linux-clang-openssl
22 os: ubuntu-latest
24 makevars: CPPFLAGS=-Werror
[all …]
/freebsd/tests/sys/netpfil/pf/
H A Drdr.sh3 # SPDX-License-Identifier: BSD-2-Clause
33 # a <-----> b <-----> c
74 jexec ${j}a route add -inet6 2001:db8:b::0/64 2001:db8:a::1
75 jexec ${j}c route add -inet6 2001:db8:a::0/64 2001:db8:b::1
77 jexec ${j}b pfctl -e
85 atf_check -s exit:0 -o ignore \
86 jexec ${j}a ping -6 -c 1 2001:db8:b::2
89 jexec ${j}c tcpdump --immediate-mode -w ${PWD}/${j}.pcap tcp and port 8000 &
93 jexec ${j}c python3 -m http.server &
96 # http directly from a to c -> a ---> b
[all …]
H A Dfragmentation_pass.sh2 # SPDX-License-Identifier: BSD-2-Clause
52 jexec alcatraz pfctl -e
61 atf_check -s exit:0 -o ignore ping -c 1 192.0.2.2
64 atf_check -s exit:0 -o ignore ping -c 1 -s 800 192.0.2.2
67 atf_check -s exit:2 -o ignore ping -c 1 -s 20000 192.0.2.2
80 atf_set require.progs python3 scapy
100 jexec singsing route add -6 2001:db8:42::/64 2001:db8:43::2
101 route add -6 2001:db8:43::/64 2001:db8:42::2
103 jexec alcatraz ifconfig ${epair_send}b inet6 -ifdisabled
104 jexec alcatraz ifconfig ${epair_link}a inet6 -ifdisabled
[all …]
H A Dkillstate.sh2 # SPDX-License-Identifier: BSD-2-Clause
33 jail=${1:-alcatraz}
34 ip=${2:-192.0.2.2}
36 jexec ${jail} pfctl -ss | grep icmp | grep ${ip}
41 jexec alcatraz pfctl -ss | grep icmp | grep 2001:db8::2
50 atf_set require.progs python3 scapy
62 jexec alcatraz pfctl -e
69 atf_check -s exit:0 -o ignore ${common_dir}/pft_ping.py \
70 --sendif ${epair}a \
71 --to 192.0.2.2 \
[all …]
H A Dpfsync.sh2 # SPDX-License-Identifier: BSD-2-Clause
72 jexec one pfctl -e
76 jexec two pfctl -e
81 hostid_one=$(jexec one pfctl -si -v | awk '/Hostid:/ { gsub(/0x/, "", $2); printf($2); }')
85 ping -c 1 -S 198.51.100.254 198.51.100.1
90 if ! jexec two pfctl -s states | grep icmp | grep 198.51.100.1 | \
95 if ! jexec two pfctl -sc | grep ""${hostid_one}"";
97 jexec two pfctl -sc
129 atf_set require.progs python3 scapy
145 jexec alcatraz arp -s 203.0.113.2 00:01:02:03:04:05
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/arc/
H A Dsetup.ksh1 #!/bin/ksh -p
2 # SPDX-License-Identifier: CDDL-1.0
11 # or https://opensource.org/licenses/CDDL-1.0.
30 is_freebsd && ! python3 -c 'import sysctl' 2>/dev/null && log_unsupported "python3 sysctl module mi…
/freebsd/release/tools/
H A Dazure.conf9 export VM_EXTRA_PACKAGES="azure-agent python python3 firstboot-freebsd-update firstboot-pkgs"
11 # Set to a list of third-party software to enable in rc.conf(5).
18 … https://learn.microsoft.com/en-us/partner-center/marketplace/azure-vm-certification-faq#vm-images
22 mount -t devfs devfs ${DESTDIR}/dev
29 /usr/sbin/pkg delete -f -y pkg
30 rm -r ${DESTDIR}/var/db/pkg/repos/FreeBSD
32 chroot ${DESTDIR} ${EMULATOR} pw usermod root -h -
34 umount ${DESTDIR}/dev
42 autoboot_delay="-1"
H A Dgce.conf9 export VM_EXTRA_PACKAGES="${VM_EXTRA_PACKAGES} firstboot-freebsd-update \
10 firstboot-pkgs google-cloud-sdk panicmail sudo \
11 sysutils/py-google-compute-engine lang/python \
12 lang/python3"
14 # Set to a list of third-party software to enable in rc.conf(5).
30 # be enlarged post-creation
31 sed -i -e '/KEYWORD: firstboot/d' /etc/rc.d/growfs
43 autoboot_delay="-1"
49 kern.timecounter.hardware=ACPI-safe
62 restrict -6 default kod nomodify notrap nopeer noquery
[all …]
/freebsd/tests/ci/tools/
H A Dci.conf3 # SPDX-License-Identifier: BSD-2-Clause
10 # Set to a list of third-party software to enable in rc.conf(5).
14 … VM_EXTRA_PACKAGES="coreutils devel/py-pytest gdb jq ksh93 net/py-dpkt net/scapy nist-kat nmap per…
17 export VM_EXTRA_PACKAGES="${VM_EXTRA_PACKAGES} linux-c7-ltp"
37 test_suites.FreeBSD.cam_test_device = '/dev/ada0'
38 test_suites.FreeBSD.disks = '/dev/vtbd2 /dev/vtbd3 /dev/vtbd4 /dev/vtbd5 /dev/vtbd6'
82 fdesc /dev/fd fdescfs rw 0 0
84 mkdir -p ${DESTDIR}/usr/local/etc/rc.d
85 cp -p ${scriptdir}/../../tests/ci/tools/freebsdci ${DESTDIR}/usr/local/etc/rc.d/
92 if [ -e ${DESTDIR}/usr/local/sbin/pkg ]; then
[all …]
/freebsd/tests/sys/opencrypto/
H A Druntests.sh1 #!/bin/sh -
7 # This software was developed by John-Mark Gurney under
32 : ${PYTHON=python3}
34 if [ ! -d /usr/local/share/nist-kat ]; then
35 echo "1..0 # SKIP: nist-kat package not installed for test vectors"
39 if ! $PYTHON -c "from dpkt import dpkt"; then
40 echo "1..0 # SKIP: py-dpkt package not installed"
47 trap - EXIT INT TERM
51 if [ -n "$oldcdas" ]; then
52 sysctl "$oldcdas" 2>/dev/null
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_load-key/
H A Dzfs_load-key_common.kshlib1 # SPDX-License-Identifier: CDDL-1.0
22 . $STF_SUITE/tests/functional/cli_root/zfs_load-key/zfs_load-key.cfg
26 # $1 - dataset
105 …log_must openssl req -x509 -newkey rsa:4096 -sha256 -days 1 -nodes -keyout "/$TESTPOOL/snakeoil.ke…
107 python3 -uc "
132 os.chdir('$STF_SUITE/tests/functional/cli_root/zfs_load-key')
142 sys.stdout = sys.stderr = open('/tmp/ZTS-snakeoil.log', 'w', buffering=1) # line
144 sys.stdout = sys.stderr = open('/dev/null', 'w')
152 read -r https_pid 2>/dev/null < "/$TESTPOOL/snakeoil.pid" && [ -n "$https_pid" ] && break
155 [ -z "$https_pid" ] && log_fail "Couldn't start HTTPS server"
[all …]
/freebsd/crypto/krb5/src/util/
H A Dmkrel2 set -e
9 while test $# -gt 2; do
11 --srconly)
13 --doconly)
15 --multi*)
17 --repository)
19 --nocheckout)
24 if test $# -lt 2; then
25 echo "usage: $0 [opts] release-tag release-dir"
26 echo " release-tag is relative to $repository/"
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/rsend/
H A Dsend_encrypted_files.ksh1 #!/bin/ksh -p
2 # SPDX-License-Identifier: CDDL-1.0
50 destroy_dataset $TESTPOOL/$TESTFS2 -r
52 destroy_dataset $TESTPOOL/recv -r
53 [[ -f $keyfile ]] && log_must rm $keyfile
54 [[ -f $sendfile ]] && log_must rm $sendfile
58 log_assert "Verify 'zfs send -w' works with many different file layouts"
66 log_must zfs create -o encryption=on -o keyformat=passphrase \
67 -o keylocation=file://$keyfile $TESTPOOL/$TESTFS2
73 log_must dd if=/dev/urandom of=/$TESTPOOL/$TESTFS2/sparse \
[all …]

12