feat: improve scripts and write tests
This commit is contained in:
32 files changed
+3817
-723
No files matched your search
Executable
+6
@@ -0,0 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
echo "blockdev $*" >> "${FAKE_OPS_LOG:-/dev/null}"
|
||||
case "$1" in
|
||||
--getsize64) awk -F'\t' -v d="$2" '$1==d {print $3; f=1} END {exit !f}' "$FAKE_DISKS" ;;
|
||||
*) exit 0 ;;
|
||||
esac
|
||||
Reference in new issue
Block a user