Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 415fa1f5 authored by Stephen Smalley's avatar Stephen Smalley
Browse files

overlaytests: fix testrunner.py md5sum invocation



The overlaytests testrunner.py script wants to invoke adb shell md5sum
to compute the md5 of a file, but wrongly invokes it as md5.  Maybe
it used to have that name, but it doesn't exist under that name in master.
Fix it.

Change-Id: I3ec4be162fab0cd3915f010f9b1add37b5397973
Signed-off-by: default avatarStephen Smalley <sds@tycho.nsa.gov>
parent ce7dba6b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -301,7 +301,7 @@ class Md5Test:
        return self.path

    def execute(self):
        returncode, stdout, stderr = _adb_shell('md5 %s' % self.path)
        returncode, stdout, stderr = _adb_shell('md5sum %s' % self.path)
        if returncode != 0:
            return returncode, stdout, stderr
        actual_md5 = stdout.split()[0]