diff options
| author | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2007-07-19 20:01:47 +0000 |
|---|---|---|
| committer | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2007-07-19 20:01:47 +0000 |
| commit | eacb06c2e82e52da033b701e4d7e0e4e2e0df61d (patch) | |
| tree | 727b4adfb6a6c388bd83ca71294f6180fcf18004 /test/ral/providers | |
| parent | 501e8c85863de33ec98744510770dbe16ba85135 (diff) | |
| download | puppet-eacb06c2e82e52da033b701e4d7e0e4e2e0df61d.tar.gz puppet-eacb06c2e82e52da033b701e4d7e0e4e2e0df61d.tar.xz puppet-eacb06c2e82e52da033b701e4d7e0e4e2e0df61d.zip | |
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
Diffstat (limited to 'test/ral/providers')
| -rwxr-xr-x | test/ral/providers/mount/parsed.rb | 6 |
1 files changed, 3 insertions, 3 deletions
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 |
