Searched refs:check_call (Results 1 - 9 of 9) sorted by relevance

/u-boot/test/py/tests/test_fs/
H A Dfstest_helpers.py6 from subprocess import check_call, CalledProcessError namespace
11 check_call('fsck.ext4 -n -f %s' % fs_img, shell=True)
H A Dconftest.py9 from subprocess import call, check_call, check_output, CalledProcessError namespace
175 check_call('guestmount --pid-file guestmount.pid -a %s -m /dev/sda %s'
186 check_call('sudo mount -o %s %s %s'
190 check_call('sudo chmod a+rw %s' % mount_point, shell=True)
253 check_call('mkdir -p %s' % mount_dir, shell=True)
270 check_call('mkdir %s/SUBDIR' % mount_dir, shell=True)
276 check_call('dd if=/dev/urandom of=%s bs=1M count=1'
278 check_call('dd if=/dev/urandom of=%s bs=1M count=2 seek=2047'
280 check_call('dd if=/dev/urandom of=%s bs=1M count=1 seek=2499'
284 check_call('d
[all...]
/u-boot/test/py/tests/test_efi_capsule/
H A Dconftest.py9 from subprocess import call, check_call, CalledProcessError namespace
31 check_call('dd if=/dev/zero of=./spi.bin bs=1MiB count=16', shell=True)
33 check_call('rm -rf %s' % mnt_point, shell=True)
34 check_call('mkdir -p %s' % data_dir, shell=True)
35 check_call('mkdir -p %s' % install_dir, shell=True)
42 check_call('cp %s/capsule_priv_key_good.key %s/SIGNER.key'
44 check_call('cp %s/capsule_pub_key_good.crt %s/SIGNER.crt'
46 check_call('cp %s/capsule_pub_esl_good.esl %s/SIGNER.esl'
49 check_call('cp %s/capsule_priv_key_bad.key %s/SIGNER2.key'
51 check_call('c
[all...]
/u-boot/test/py/tests/test_efi_secboot/
H A Dconftest.py7 from subprocess import call, check_call, CalledProcessError namespace
27 check_call('rm -rf {}'.format(mnt_point), shell=True)
28 check_call('mkdir -p {}'.format(mnt_point), shell=True)
41 check_call('cd %s; openssl req -x509 -sha256 -newkey rsa:2048 -subj /CN=TEST_PK/ -keyout PK.key -out PK.crt -nodes -days 365'
43 check_call('cd %s; %scert-to-efi-sig-list -g %s PK.crt PK.esl; %ssign-efi-sig-list -t "2020-04-01" -c PK.crt -k PK.key PK PK.esl PK.auth'
47 check_call('cd %s; touch PK_null.esl; %ssign-efi-sig-list -t "2020-04-02" -c PK.crt -k PK.key PK PK_null.esl PK_null.auth'
50 check_call('cd %s; openssl req -x509 -sha256 -newkey rsa:2048 -subj /CN=TEST_KEK/ -keyout KEK.key -out KEK.crt -nodes -days 365'
52 check_call('cd %s; %scert-to-efi-sig-list -g %s KEK.crt KEK.esl; %ssign-efi-sig-list -t "2020-04-03" -c PK.crt -k PK.key KEK KEK.esl KEK.auth'
56 check_call('cd %s; openssl req -x509 -sha256 -newkey rsa:2048 -subj /CN=TEST_db/ -keyout db.key -out db.crt -nodes -days 365'
58 check_call('c
[all...]
/u-boot/test/py/tests/
H A Dfs_helper.py10 from subprocess import call, check_call, check_output, CalledProcessError namespace
49 check_call(f'rm -f {fs_img}', shell=True)
50 check_call(f'dd if=/dev/zero of={fs_img} bs={size_gran} count={count}',
52 check_call(f'mkfs.{fs_lnxtype} {mkfs_opt} {fs_img}', shell=True)
57 check_call(f'tune2fs -O ^metadata_csum {fs_img}', shell=True)
/u-boot/test/py/tests/test_efi_bootmgr/
H A Dconftest.py7 from subprocess import check_call namespace
35 check_call(f'virt-make-fs --partition=gpt --size=+1M --type=vfat {mnt_point} {image_path}',
/u-boot/test/py/tests/test_eficonfig/
H A Dconftest.py8 from subprocess import check_call namespace
37 check_call(f'virt-make-fs --partition=gpt --size=+1M --type=vfat {mnt_point} {image_path}',
/u-boot/test/py/tests/test_xxd/
H A Dconftest.py8 from subprocess import check_call, CalledProcessError namespace
27 check_call(f'virt-make-fs --partition=gpt --size=+1M --type=vfat {mnt_point} {image_path}',
/u-boot/test/py/tests/test_cat/
H A Dconftest.py8 from subprocess import check_call, CalledProcessError namespace
27 check_call(f'virt-make-fs --partition=gpt --size=+1M --type=vfat {mnt_point} {image_path}',

Completed in 202 milliseconds