Home
last modified time | relevance | path

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

12

/freebsd/sys/contrib/openzfs/.github/workflows/scripts/
H A Dqemu-3-deps-vm.sh9 set -eu
12 echo "##[group]Running pacman -Syu"
14 sudo pacman -Syu --noconfirm
18 sudo pacman -Sy --noconfirm base-devel bc cpio cryptsetup dhclient dkms \
19 fakeroot fio gdb inetutils jq less linux linux-headers lsscsi nfs-utils \
20 parted pax perf python-packaging python-setuptools qemu-guest-agent ksh \
21 samba sysstat rng-tools rsync wget xxhash
28 echo "##[group]Running apt-get update+upgrade"
29 sudo apt-get update -y
30 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/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/tests/sys/netpfil/pf/
H A Drdr.sh3 # SPDX-License-Identifier: BSD-2-Clause
35 atf_set require.progs python3
41 # a <-----> b <-----> c
82 jexec ${j}a route add -inet6 2001:db8:b::0/64 2001:db8:a::1
83 jexec ${j}c route add -inet6 2001:db8:a::0/64 2001:db8:b::1
85 jexec ${j}b pfctl -e
88 "rdr on ${epair_one}a proto tcp from any to any port 80 -> 2001:db8:b::2 port 8000"
91 atf_check -s exit:0 -o ignore \
92 jexec ${j}a ping -6 -c 1 2001:db8:b::2
95 jexec ${j}c tcpdump --immediate-mode -w ${PWD}/${j}.pcap tcp and port 8000 &
[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 …]
H A Droute_to.sh2 # SPDX-License-Identifier: BSD-2-Clause
34 atf_set descr 'Basic route-to test'
50 jexec alcatraz route add -net 198.51.100.0/24 192.0.2.1
51 jexec alcatraz pfctl -e
55 "pass out route-to (${epair_route}b 203.0.113.1) from 192.0.2.2 to 198.51.100.1 no state"
56 jexec alcatraz nc -w 3 -s 192.0.2.2 198.51.100.1 22
70 atf_set descr 'Basic route-to test (IPv6)'
79 ifconfig ${epair_send}a inet6 2001:db8:42::1/64 up no_dad -ifdisabled
81 ifconfig ${epair_route}a inet6 2001:db8:43::1/64 up no_dad -ifdisabled
86 jexec alcatraz route add -6 2001:db8:666::/64 2001:db8:42::2
[all …]
/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-part
[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/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 …]
/freebsd/tests/sys/netinet6/frag6/
H A Dfrag6.subr1 #-
2 # SPDX-License-Identifier: BSD-2-Clause
34 atf_set require.progs python3 scapy
42 if [ $$ -gt 65535 ]; then
43 xl=`printf "%x" $(($$ - 65535))`
59 jname="v6t-${id}-${yl}-${xl}"
69 while [ `ifconfig ${epair}a inet6 | grep -c tentative` != "0" ]; do
77 while test $i -lt 60; do
78 nf=`sysctl -n net.inet6.ip6.frag6_nfrags`
93 [A-Za-z0-9_]*)
[all …]
/freebsd/sys/contrib/openzfs/config/
H A Dalways-pyzfs.m42 dnl # ZFS_AC_PYTHON_MODULE(module_name, [action-if-true], [action-if-false])
5 dnl # https://www.gnu.org/software/autoconf-archive/ax_python_module.html
11 AS_IF([$PYTHON -c "import $1" 2>/dev/null], [
25 AS_HELP_STRING([--enable-pyzf
[all...]

12