Files
munki/code/client/tests/munkilib/data_scaffolds.py
Greg Neagle dfbe8bbcad Fix tests
2017-01-09 10:45:20 -08:00

159 lines
12 KiB
Python

def getRunningProcessesMock():
return [
'/sbin/launchd',
'/Applications/Firefox.app/Contents/MacOS/firefox',
'/usr/sbin/syslogd',
'/usr/libexec/UserEventAgent',
'/usr/libexec/kextd',
'/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/FSEvents.framework/Versions/A/Support/fseventsd',
'/usr/libexec/thermald',
'/usr/libexec/configd',
'/System/Library/CoreServices/appleeventsd',
'/System/Library/CoreServices/powerd.bundle/powerd',
'/usr/libexec/airportd',
'/usr/libexec/warmd',
'/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Support/mds',
'/System/Library/CoreServices/iconservicesd',
'/System/Library/CoreServices/iconservicesagent',
'/usr/libexec/diskarbitrationd',
'/usr/libexec/coreduetd',
'/usr/libexec/wdhelper',
'/System/Library/PrivateFrameworks/WirelessDiagnostics.framework/Support/awdd',
'/usr/libexec/opendirectoryd',
'/usr/sbin/wirelessproxd',
'/usr/libexec/discoveryd',
'/System/Library/PrivateFrameworks/ApplePushService.framework/apsd',
'/System/Library/CoreServices/launchservicesd',
'/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/Resources/usbmuxd',
'/usr/sbin/securityd',
'/usr/sbin/blued',
'/Library/Application Support/VMware Tools/vmware-tools-daemon',
'/usr/libexec/stackshot',
'/System/Library/PrivateFrameworks/GenerationalStorage.framework/Versions/A/Support/revisiond',
'/System/Library/CoreServices/loginwindow.app/Contents/MacOS/loginwindow',
'/System/Library/CoreServices/logind',
'/usr/sbin/KernelEventAgent',
'/usr/libexec/hidd',
'/usr/libexec/taskgated',
'/usr/sbin/notifyd',
'/usr/sbin/distnoted',
'/System/Library/CoreServices/coreservicesd',
'/System/Library/Frameworks/Security.framework/Versions/A/XPCServices/authd.xpc/Contents/MacOS/authd',
'/usr/sbin/cfprefsd',
'/usr/libexec/diagnosticd',
'/System/Library/Frameworks/PCSC.framework/Versions/A/XPCServices/com.apple.ctkpcscd.xpc/Contents/MacOS/com.apple.ctkpcscd',
'/System/Library/Frameworks/CryptoTokenKit.framework/ctkd',
'/usr/libexec/secinitd',
'/System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Resources/WindowServer',
'/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Versions/A/Support/mds_stores',
'/usr/libexec/discoveryd_helper',
'/usr/libexec/networkd',
'/usr/libexec/networkd_privileged',
'/usr/libexec/nsurlsessiond',
'/usr/libexec/nehelper',
'/usr/libexec/usbd',
'/usr/sbin/ntpd',
'/System/Library/CryptoTokenKit/com.apple.ifdreader.slotd/Contents/MacOS/com.apple.ifdreader',
'/System/Library/Frameworks/CoreMediaIO.framework/Resources/VDC.plugin/Contents/Resources/VDCAssistant',
'/usr/sbin/netbiosd',
'/System/Library/CoreServices/Software Update.app/Contents/Resources/softwareupdated',
'/System/Library/PrivateFrameworks/SoftwareUpdate.framework/Resources/suhelperd',
'/usr/libexec/watchdogd',
'/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/CVMServer',
'/System/Library/PrivateFrameworks/AmbientDisplay.framework/Versions/A/XPCServices/com.apple.AmbientDisplayAgent.xpc/Contents/MacOS/com.apple.AmbientDisplayAgent',
'/System/Library/Frameworks/Security.framework/Versions/A/XPCServices/com.apple.CodeSigningHelper.xpc/Contents/MacOS/com.apple.CodeSigningHelper',
'/usr/libexec/nsurlstoraged',
'/System/Library/PrivateFrameworks/PerformanceAnalysis.framework/XPCServices/com.apple.PerformanceAnalysis.animationperfd.xpc/Contents/MacOS/com.apple.PerformanceAnalysis.animationperfd',
'/System/Library/PrivateFrameworks/TCC.framework/Resources/tccd',
'/System/Library/PrivateFrameworks/AccountPolicy.framework/XPCServices/com.apple.AccountPolicyHelper.xpc/Contents/MacOS/com.apple.AccountPolicyHelper',
'/usr/libexec/systemstatsd',
'/usr/libexec/securityd_service',
'/Applications/Utilities/Terminal.app/Contents/MacOS/Terminal',
'/System/Library/CoreServices/Dock.app/Contents/MacOS/Dock',
'/System/Library/CoreServices/SystemUIServer.app/Contents/MacOS/SystemUIServer',
'/System/Library/CoreServices/Finder.app/Contents/MacOS/Finder',
'/usr/sbin/pboard',
'/usr/sbin/coreaudiod',
'/System/Library/Frameworks/CoreAudio.framework/Versions/A/XPCServices/com.apple.audio.DriverHelper.xpc/Contents/MacOS/com.apple.audio.DriverHelper',
'/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Support/fontd',
'/System/Library/CoreServices/Spotlight.app/Contents/MacOS/Spotlight',
'/System/Library/PrivateFrameworks/CacheDelete.framework/deleted',
'/System/Library/PrivateFrameworks/CloudKitDaemon.framework/Support/cloudd',
'/System/Library/PrivateFrameworks/CloudDocsDaemon.framework/Versions/A/Support/bird',
'/usr/sbin/usernoted',
'/usr/libexec/locationd',
'/System/Library/PrivateFrameworks/CalendarAgent.framework/Executables/CalendarAgent',
'/usr/sbin/filecoordinationd',
'/System/Library/CoreServices/Dock.app/Contents/XPCServices/com.apple.dock.extra.xpc/Contents/MacOS/com.apple.dock.extra',
'/System/Library/Frameworks/Accounts.framework/Versions/A/Support/accountsd',
'/System/Library/CoreServices/backupd.bundle/Contents/Resources/TMCacheDelete',
'/usr/libexec/sharingd',
'/usr/libexec/pkd',
'/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/MacOS/identityservicesd',
'/System/Library/PrivateFrameworks/ParsecUI.framework/Versions/A/Support/SpotlightNetHelper.app/Contents/MacOS/SpotlightNetHelper',
'/System/Library/PrivateFrameworks/SyncedDefaults.framework/Support/syncdefaultsd',
'/System/Library/PrivateFrameworks/CommerceKit.framework/Versions/A/Resources/storeaccountd',
'/System/Library/PrivateFrameworks/MessagesKit.framework/Resources/soagent.app/Contents/MacOS/soagent',
'/System/Library/PrivateFrameworks/CalendarAgent.framework/Versions/A/XPCServices/CalNCService.xpc/Contents/MacOS/CalNCService',
'/usr/libexec/secd',
'/System/Library/PrivateFrameworks/CallHistory.framework/Support/CallHistoryPluginHelper',
'/System/Library/PrivateFrameworks/CallHistory.framework/Support/CallHistorySyncHelper',
'/System/Library/PrivateFrameworks/IMCore.framework/imagent.app/Contents/MacOS/imagent',
'/System/Library/PrivateFrameworks/IMDPersistence.framework/XPCServices/IMDPersistenceAgent.xpc/Contents/MacOS/IMDPersistenceAgent',
'/System/Library/PrivateFrameworks/TelephonyUtilities.framework/callservicesd',
'/usr/libexec/fmfd',
'/System/Library/PrivateFrameworks/AOSKit.framework/Versions/A/XPCServices/com.apple.iCloudHelper.xpc/Contents/MacOS/com.apple.iCloudHelper',
'/System/Library/CoreServices/CoreServicesUIAgent.app/Contents/MacOS/CoreServicesUIAgent',
'/usr/libexec/spindump_agent',
'/System/Library/CoreServices/SocialPushAgent.app/Contents/MacOS/SocialPushAgent',
'/System/Library/CoreServices/Keychain Circle Notification.app/Contents/MacOS/Keychain Circle Notification',
'/System/Library/CoreServices/NotificationCenter.app/Contents/MacOS/NotificationCenter',
'/System/Library/CoreServices/AppleIDAuthAgent',
'/System/Library/PrivateFrameworks/AskPermission.framework/Versions/A/Resources/askpermissiond',
'/System/Library/PrivateFrameworks/HelpData.framework/Versions/A/Resources/helpd',
'/System/Library/CoreServices/diagnostics_agent',
'/Applications/iTunes.app/Contents/MacOS/iTunesHelper.app/Contents/MacOS/iTunesHelper',
'/usr/libexec/amfid',
'/System/Library/CoreServices/mapspushd',
'/System/Library/CoreServices/CrashReporterSupportHelper',
'/System/Library/Frameworks/Security.framework/Versions/A/Resources/CloudKeychainProxy.bundle/Contents/MacOS/CloudKeychainProxy',
'/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Versions/A/Support/mdflagwriter',
'/usr/libexec/SafariNotificationAgent',
'/System/Library/CoreServices/NotificationCenter.app/Contents/XPCServices/com.apple.notificationcenterui.WeatherSummary.xpc/Contents/MacOS/com.apple.notificationcenterui.WeatherSummary',
'/System/Library/CoreServices/SubmitDiagInfo',
'/System/Library/CoreServices/pbs',
'/System/Library/Services/AppleSpell.service/Contents/MacOS/AppleSpell',
'/System/Library/Frameworks/InputMethodKit.framework/Versions/A/XPCServices/com.apple.InputMethodKit.UserDictionary.xpc/Contents/MacOS/com.apple.InputMethodKit.UserDictionary',
'/System/Library/PrivateFrameworks/CommerceKit.framework/Versions/A/Resources/storelegacy',
'/System/Library/PrivateFrameworks/CommerceKit.framework/Versions/A/Resources/storeassetd',
'/System/Library/PrivateFrameworks/CommerceKit.framework/Resources/LaterAgent.app/Contents/MacOS/LaterAgent',
'/System/Library/PrivateFrameworks/CommerceKit.framework/Versions/A/Resources/storedownloadd',
'/usr/libexec/sandboxd',
'/System/Library/PrivateFrameworks/CoreSymbolication.framework/coresymbolicationd',
'/System/Library/PrivateFrameworks/DiskImages.framework/Resources/diskimages-helper',
'/System/Library/PrivateFrameworks/DiskImages.framework/Resources/hdiejectd',
'/System/Library/PrivateFrameworks/PackageKit.framework/Resources/installd',
'/usr/libexec/USBAgent',
'/System/Library/CoreServices/cloudphotosd.app/Contents/MacOS/cloudphotosd',
'/System/Library/PrivateFrameworks/CloudServices.framework/Resources/EscrowSecurityAlert.app/Contents/MacOS/EscrowSecurityAlert',
'/usr/sbin/aslmanager',
'/System/Library/PrivateFrameworks/Noticeboard.framework/Versions/A/Resources/nbagent.app/Contents/MacOS/nbagent',
'/usr/sbin/ocspd',
'/usr/libexec/periodic-wrapper',
'/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Versions/A/Support/mdworker',
'/System/Library/PrivateFrameworks/CloudPhotoServices.framework/Versions/A/Frameworks/CloudPhotoServicesConfiguration.framework/Versions/A/XPCServices/com.apple.CloudPhotosConfiguration.xpc/Contents/MacOS/com.apple.CloudPhotosConfiguration',
'/System/Library/PrivateFrameworks/PhotoLibraryPrivate.framework/Versions/A/Support/photolibraryd',
'/Applications/Safari.app/Contents/MacOS/Safari',
'/System/Library/StagedFrameworks/Safari/WebKit.framework/Versions/A/XPCServices/com.apple.WebKit.Networking.xpc/Contents/MacOS/com.apple.WebKit.Networking',
'/System/Library/PreferencePanes/DateAndTime.prefPane/Contents/Resources/TimeZone.prefPane/Contents/Resources/timezoned.app/Contents/MacOS/timezoned',
'/System/Library/StagedFrameworks/Safari/Safari.framework/Versions/A/XPCServices/com.apple.Safari.SearchHelper.xpc/Contents/MacOS/com.apple.Safari.SearchHelper',
'/System/Library/StagedFrameworks/Safari/WebKit.framework/Versions/A/XPCServices/com.apple.WebKit.WebContent.xpc/Contents/MacOS/com.apple.WebKit.WebContent',
'/System/Library/Frameworks/QTKit.framework/Versions/A/XPCServices/com.apple.qtkitserver.xpc/Contents/MacOS/com.apple.qtkitserver',
'/System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Versions/A/Support/mdworker32',
'/System/Library/CoreServices/Software Update.app/Contents/Resources/softwareupdate_download_service',
'/System/Library/CoreServices/AssetCacheLocatorService',
'/System/Library/PrivateFrameworks/CommerceKit.framework/Versions/A/XPCServices/com.apple.CommerceKit.TransactionService.xpc/Contents/MacOS/com.apple.CommerceKit.TransactionService',
'/usr/sbin/spindump',
'/bin/ps'
]