mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
[UnitTests] Fix track flags comparison in writable optical media image test. Fixes #790
This commit is contained in:
@@ -96,7 +96,7 @@ public abstract class WritableOpticalMediaImageTest : BaseWritableMediaImageTest
|
|||||||
errno = image.ReadSectorTag(currentTrack.Sequence, SectorTagType.CdTrackFlags,
|
errno = image.ReadSectorTag(currentTrack.Sequence, SectorTagType.CdTrackFlags,
|
||||||
out byte[] tmp);
|
out byte[] tmp);
|
||||||
|
|
||||||
if(errno != ErrorNumber.NoError)
|
if(errno == ErrorNumber.NoError)
|
||||||
flags[trackNo] = tmp[0];
|
flags[trackNo] = tmp[0];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user