make t1123 the example standard
This commit is contained in:
@@ -6,19 +6,26 @@ atomic_tests:
|
||||
- name: SourceRecorder via cmd.exe
|
||||
description: |
|
||||
Create a file called test.wma, with the duration of 30 seconds
|
||||
|
||||
supported_platforms:
|
||||
- windows
|
||||
executor: command_prompt
|
||||
|
||||
args:
|
||||
- output_file: test.wma
|
||||
- duration_hms: 0000:00:30
|
||||
command: cmd.exe /c "SoundRecorder /FILE #{output_file} /DURATION #{duration_hms}"
|
||||
output_file:
|
||||
default: test.wma
|
||||
duration_hms:
|
||||
default: 0000:00:30
|
||||
|
||||
executors:
|
||||
- name: command_prompt
|
||||
command: SoundRecorder /FILE #{output_file} /DURATION #{duration_hms}
|
||||
|
||||
- name: PowerShell Cmdlet
|
||||
description: |
|
||||
[AudioDeviceCmdlets](https://github.com/cdhunt/WindowsAudioDevice-Powershell-Cmdlet)
|
||||
supported_platforms:
|
||||
- windows
|
||||
executor: powershell
|
||||
args:
|
||||
command: powershell.exe xxxxx
|
||||
executors:
|
||||
- name: command_prompt
|
||||
command: powershell.exe -Command WindowsAudioDevice-Powershell-Cmdlet
|
||||
|
||||
@@ -10,8 +10,12 @@ atomic_tests:
|
||||
- linux
|
||||
executor: sh
|
||||
args:
|
||||
- key_filename: rootCA.key
|
||||
- cert_filename: rootCA.crt
|
||||
key_filename:
|
||||
type: filename
|
||||
default: rootCA.key
|
||||
cert_filename:
|
||||
type: filename
|
||||
default: rootCA.crt
|
||||
command: |
|
||||
openssl genrsa -out #{key_filename} 4096
|
||||
openssl req -x509 -new -nodes -key #{key_filename} -sha256 -days 365 -out #{cert_filename}
|
||||
|
||||
Executable
+8
@@ -0,0 +1,8 @@
|
||||
#!/usr/bin/env ruby
|
||||
require 'ostruct'
|
||||
require 'yaml'
|
||||
|
||||
Dir["#{File.dirname __FILE__}/../atomics/**/t*.yaml"].each do |technique_file|
|
||||
technique = OpenStruct.new YAML.load(File.read(technique_file))
|
||||
p technique.display_name
|
||||
end
|
||||
Reference in New Issue
Block a user