diff options
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/bin/blkid | 11 | ||||
-rwxr-xr-x | tests/bin/findfs | 10 |
2 files changed, 21 insertions, 0 deletions
diff --git a/tests/bin/blkid b/tests/bin/blkid new file mode 100755 index 0000000..ccf7e43 --- /dev/null +++ b/tests/bin/blkid @@ -0,0 +1,11 @@ +#!/bin/sh + +case "$1" in + /dev/vda1) + echo "$1:" 'TYPE="vfat" LABEL="APKOVL"' + ;; + /dev/mmcblk0p1) + echo "$1:" 'TYPE="vfat" UUID="AAAA-BBBB"' + ;; +esac + diff --git a/tests/bin/findfs b/tests/bin/findfs new file mode 100755 index 0000000..6d67767 --- /dev/null +++ b/tests/bin/findfs @@ -0,0 +1,10 @@ +#!/bin/sh + +case "$1" in + LABEL=APKOVL) + echo /dev/vda1 + ;; + UUID=AAAA-BBBB) + echo /dev/mmcblk0p1 + ;; +esac |