Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
zhoucheng361 committed Mar 26, 2024
1 parent ae177c4 commit b9f4db2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/scripts/command/load_dump.sh
Original file line number Diff line number Diff line change
Expand Up @@ -95,13 +95,15 @@ do_dump_load_and_compare()
./juicefs mount -d sqlite3://test2.db /jfs2
diff -ur /jfs/fsrand /jfs2/fsrand --no-dereference
compare_stat_acl /jfs/fsrand /jfs2/fsrand
umount /jfs2
}

compare_dump_json(){
sed -i '/usedSpace/d' dump*.json
sed -i '/usedInodes/d' dump*.json
sed -i '/nextInodes/d' dump*.json
sed -i '/nextChunk/d' dump*.json
sed -i '/nextTrash/d' dump*.json
sed -i '/nextSession/d' dump*.json
sed -i 's/"inode":[0-9]\+/"inode":0/g' dump*.json
diff -ur dump.json dump2.json
Expand Down

0 comments on commit b9f4db2

Please sign in to comment.