# File lib/specinfra/command/freebsd/v6/user.rb, line 3 def check_has_home_directory(user, path_to_home) "pw user show #{escape(user)} | cut -f 9 -d ':' | grep -w -- #{escape(path_to_home)}" end