diff options
author | Karel Zak | 2008-02-18 15:22:08 +0100 |
---|---|---|
committer | Karel Zak | 2008-02-18 15:22:08 +0100 |
commit | 9a52650c79099fb7a029727bc72b5c489390a72e (patch) | |
tree | 6ae26f651a761c3c5cfca96f25c685a123cc88e2 /tests/ts-cramfs-mkfs | |
parent | build-sys: use pkg-config to find the libs for static build (diff) | |
download | kernel-qcow2-util-linux-9a52650c79099fb7a029727bc72b5c489390a72e.tar.gz kernel-qcow2-util-linux-9a52650c79099fb7a029727bc72b5c489390a72e.tar.xz kernel-qcow2-util-linux-9a52650c79099fb7a029727bc72b5c489390a72e.zip |
tests: add "sort" to cramfs test
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'tests/ts-cramfs-mkfs')
-rwxr-xr-x | tests/ts-cramfs-mkfs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/ts-cramfs-mkfs b/tests/ts-cramfs-mkfs index c120a25fe..4ed8114b6 100755 --- a/tests/ts-cramfs-mkfs +++ b/tests/ts-cramfs-mkfs @@ -49,7 +49,7 @@ if [ ! -d "$IMAGE_DATA" ]; then fi ts_log "list checksums from original data" -find $IMAGE_DATA -type f -exec md5sum {} \; >> $TS_OUTPUT +find $IMAGE_DATA -type f -exec md5sum {} \; | sort >> $TS_OUTPUT echo >> $TS_OUTPUT ts_log "create cramfs image" @@ -57,7 +57,7 @@ $TS_CMD_MKCRAMFS -n $LABEL $IMAGE_DATA $IMAGE 2>&1 >> $TS_OUTPUT [ -s "$IMAGE" ] || ts_die "Cannot create $IMAGE" ts_log "count MD5 from the image" -md5sum $IMAGE 2>&1 >> $TS_OUTPUT +md5sum $IMAGE 2>&1 | sort >> $TS_OUTPUT echo >> $TS_OUTPUT ts_log "create loop device from image" @@ -82,7 +82,7 @@ ls -laR --time-style=long-iso $TS_MOUNTPOINT >> $TS_OUTPUT echo >> $TS_OUTPUT ts_log "list checksums from new data" -find $TS_MOUNTPOINT -type f -exec md5sum {} \; >> $TS_OUTPUT +find $TS_MOUNTPOINT -type f -exec md5sum {} \; | sort >> $TS_OUTPUT echo >> $TS_OUTPUT ts_log "umount the image" |