Skip to content

Commit

Permalink
exfatprogs: modify .travis.yml to run fsck testcases
Browse files Browse the repository at this point in the history
Modify .travis.yml to run testcases for
fsck repair in tests directory.

Signed-off-by: Hyunchul Lee <[email protected]>
  • Loading branch information
hclee committed Sep 6, 2022
1 parent b9806de commit d45d4da
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ notifications:

before_script:
- sudo apt-get install linux-headers-$(uname -r)
- sudo apt-get install xz-utils
- git clone --branch=exfat-next https://github.com/namjaejeon/exfat_oot
- ./.travis_get_mainline_kernel
- export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
Expand All @@ -21,11 +22,16 @@ script:
- ./configure > /dev/null
- make -j$((`nproc`+1)) > /dev/null
- sudo make install > /dev/null
# build & install exfat
- cd exfat_oot
- make > /dev/null
- sudo make install > /dev/null
- sudo modprobe exfat
- sudo mkdir -p /mnt/test
- cd ..
# run fsck repair testcases
- cd tests
- sudo ./test_fsck.sh
# create file/director test
- truncate -s 10G test.img
- sudo losetup /dev/loop22 test.img
Expand Down

0 comments on commit d45d4da

Please sign in to comment.