Converting mount test to use mount everywhere instead of df
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2716 980ebf18-57e1-0310-9a29-db15c13687c0
This commit is contained in:
Родитель
501e8c8586
Коммит
eacb06c2e8
|
@ -195,13 +195,13 @@ class TestParsedMounts < Test::Unit::TestCase
|
|||
obj.unmount
|
||||
}
|
||||
assert(! obj.mounted?, "FS still mounted")
|
||||
# Check the actual output of df
|
||||
assert(! obj.df().include?(fs), "%s is still listed in df" % fs)
|
||||
# Check the actual output of mountcmd
|
||||
assert(! obj.mountcmd().include?(fs), "%s is still listed in mountcmd" % fs)
|
||||
assert_nothing_raised {
|
||||
obj.mount
|
||||
}
|
||||
assert(obj.mounted?, "FS not mounted")
|
||||
assert(obj.df().include?(fs), "%s is not listed in df" % fs)
|
||||
assert(obj.mountcmd().include?(fs), "%s is not listed in mountcmd" % fs)
|
||||
|
||||
# Now try remounting
|
||||
assert_nothing_raised("Could not remount filesystem") do
|
||||
|
|
Загрузка…
Ссылка в новой задаче