Add gtester file-write

Co-authored-by: Andrea Cardaci <cyrus.and@gmail.com>
This commit is contained in:
LinuxSploit 2021-06-24 11:53:52 +05:00 committed by GitHub
parent d6fdf6e633
commit fe7b3d797f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,10 @@
--- ---
functions: functions:
file-write:
- description: Data to be written appears in an XML attribute in the output file: `<testbinary path="DATA">`.
code: |
LFILE=file_to_write
gtester "DATA" -o $LFILE
shell: shell:
- code: | - code: |
TF=$(mktemp) TF=$(mktemp)