2 name: "Base file system test"
7 - command: "mkfile --size 2m /tmp/img"
8 - name: Checking image file has the right size.
12 - name: Starting file_bd
14 args: "file_bd /tmp/img fbd0"
15 assert: "Accepting connections"
16 negassert: "Failed to start block device layer."
17 - name: Creating filesystem
19 args: "mkfat --type 12 fbd0"
21 negassert: "Failed to create FAT file system"
22 - name: Creating a dedicated mount-point
23 command: "mkdir /tmp/mnt"
24 - name: Mounting the file system
26 args: "mount fat /tmp/mnt fbd0"
28 - name: Copy the file to the mounted filesystem
29 command: "cp demo.txt /tmp/mnt"
31 - name: Checking file copying actually succeeded
36 - command: "umount /tmp/mnt"
37 - name: Checking demo.txt is not present when unmounted
43 args: "mount fat /tmp/mnt fbd0"
45 - name: Checking the file is still there after re-mounting