e2fsprogs: use $DUMPE2FS in resize_test script
PATCH 1/1 e2fsprogs: use $DUMPE2FS in resize_test script
Use $DUMPE2FS in resize tests to be sure it's testing the in-tree dumpe2fs, not the system dumpe2fs (which may not even be there...)
Signed-off-by Eric Sandeen <[email protected]>
---
(somehow I thought I had sent this, or something similar, before ... can't find it, oh well!)
tests/scripts/resize_test +4 -4
@@ -67,7 +67,7 @@ fi echo $FSCK -fy $TMPFILE >> $LOG 2>&1 if ! $FSCK -fy $TMPFILE >> $LOG 2>&1 then - dumpe2fs $TMPFILE >> $LOG + $DUMPE2FS $TMPFILE >> $LOG return 1 fi
@@ -97,7 +97,7 @@ fi echo $FSCK -fy $TMPFILE >> $LOG 2>&1 if ! $FSCK -fy $TMPFILE >> $LOG 2>&1 then - dumpe2fs $TMPFILE >> $LOG + $DUMPE2FS $TMPFILE >> $LOG return 1 fi
@@ -122,7 +122,7 @@ fi echo $FSCK -fy $TMPFILE >> $LOG 2>&1 if ! $FSCK -fy $TMPFILE >> $LOG 2>&1 then - dumpe2fs $TMPFILE >> $LOG + $DUMPE2FS $TMPFILE >> $LOG return 1 fi
@@ -147,7 +147,7 @@ fi echo $FSCK -fy $TMPFILE >> $LOG 2>&1 if ! $FSCK -fy $TMPFILE >> $LOG 2>&1 then - dumpe2fs $TMPFILE >> $LOG + $DUMPE2FS $TMPFILE >> $LOG return 1 fi
Theodore Ts'o
AppliedQuoted 5 lines · Eric Sandeen
Use $DUMPE2FS in resize tests to be sure it's testing the in-tree dumpe2fs, not the system dumpe2fs (which may not even be there...)
Signed-off-by Eric Sandeen <[email protected]>
Applied, thanks
- Ted