summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rwxr-xr-xtests/bin/blkid11
-rwxr-xr-xtests/bin/findfs10
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