From 495356d0457ce99807a90d0de0f17e305d7e46ce Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Mon, 27 Sep 2010 16:43:55 +0200 Subject: [PATCH] testsuite: Fix SMART test for SSDs SSDs do not have a "start-stop-count" (at least mine doesn't). Use "power-on-hours" in the test suite instead. --- tests/run | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/run b/tests/run index 06936b5..67787fe 100755 --- a/tests/run +++ b/tests/run @@ -1177,7 +1177,7 @@ class Smart(UDisksTestCase): tool_info = subprocess.Popen([self.tool_path, '--show-info', self.device], stdout=subprocess.PIPE) out = tool_info.communicate()[0] - self.assert_('start-stop-count' in out) + self.assert_('power-on-hours' in out) self.assert_('Pre-fail' in out) -- 2.7.4