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:
luke 2007-07-19 20:01:47 +00:00
Родитель 501e8c8586
Коммит eacb06c2e8
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -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