Doh, you're actually right: assert_script_run("wget --quiet " . data_url("apparmor/$profile_name_new") . " -O $prof_dir/$profile_name"); This takes a profile that does not come from the distro