From eacb06c2e82e52da033b701e4d7e0e4e2e0df61d Mon Sep 17 00:00:00 2001 From: luke Date: Thu, 19 Jul 2007 20:01:47 +0000 Subject: 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 --- test/ral/providers/mount/parsed.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test') diff --git a/test/ral/providers/mount/parsed.rb b/test/ral/providers/mount/parsed.rb index bd0091ad3..e5d8669e7 100755 --- a/test/ral/providers/mount/parsed.rb +++ b/test/ral/providers/mount/parsed.rb @@ -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 -- cgit