aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHyunchul Lee <hyc.lee@gmail.com>2022-09-01 14:43:32 +0900
committerHyunchul Lee <hyc.lee@gmail.com>2022-09-06 09:54:25 +0900
commitd45d4da28836db69c2e9dd69191b6771aadbc2e2 (patch)
tree582742cfae0273214e62c6bf29a4413ba03c43f6
parentb9806defcc54b8ef37b024447d4d6debfcb89443 (diff)
downloadexfatprogs-d45d4da28836db69c2e9dd69191b6771aadbc2e2.tar.gz
exfatprogs: modify .travis.yml to run fsck testcases
Modify .travis.yml to run testcases for fsck repair in tests directory. Signed-off-by: Hyunchul Lee <hyc.lee@gmail.com>
-rw-r--r--.travis.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 90aff89..2d44bd1 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -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
@@ -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