pluto/fat32_cp.sh
DrDeano 45f37dc3c1
Added read functionality to FAT32
Create test FAT32 image on build
Moved test files to test_files directory
Removed global array for test fat32
Part of #216
Removed hard coded test files


Use @embedFile for large file test
2020-12-12 22:31:42 +00:00

9 lines
202 B
Bash
Executable file

#!/usr/bin/env bash
IMAGE_PATH_DIR=$1
mkdir test/fat32/mnt
sudo mount $IMAGE_PATH_DIR test/fat32/mnt/
sudo cp test/fat32/test_files/* test/fat32/mnt/
sudo umount test/fat32/mnt/
rm -rf test/fat32/mnt