diff options
Diffstat (limited to 'meta/lib/oeqa/selftest/recipetool.py')
-rw-r--r-- | meta/lib/oeqa/selftest/recipetool.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/lib/oeqa/selftest/recipetool.py b/meta/lib/oeqa/selftest/recipetool.py index f3ad493457..c08b2e4674 100644 --- a/meta/lib/oeqa/selftest/recipetool.py +++ b/meta/lib/oeqa/selftest/recipetool.py | |||
@@ -111,7 +111,9 @@ class RecipetoolTests(DevtoolBase): | |||
111 | 111 | ||
112 | def test_recipetool_appendfile_binary(self): | 112 | def test_recipetool_appendfile_binary(self): |
113 | # Try appending a binary file | 113 | # Try appending a binary file |
114 | result = runCmd('recipetool appendfile %s /bin/ls /bin/ls -r coreutils' % templayerdir) | 114 | # /bin/ls can be a symlink to /usr/bin/ls |
115 | ls = os.readlink("/bin/ls") | ||
116 | result = runCmd('recipetool appendfile %s /bin/ls %s -r coreutils' % (templayerdir, ls)) | ||
115 | self.assertIn('WARNING: ', result.output) | 117 | self.assertIn('WARNING: ', result.output) |
116 | self.assertIn('is a binary', result.output) | 118 | self.assertIn('is a binary', result.output) |
117 | 119 | ||