Vagrantfile 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427
  1. # -*- mode: ruby -*-
  2. # vi: set ft=ruby :
  3. # Automated creation of testing environments / binaries on misc. platforms
  4. $cpus = Integer(ENV.fetch('VMCPUS', '8')) # create VMs with that many cpus
  5. $xdistn = Integer(ENV.fetch('XDISTN', '8')) # dispatch tests to that many pytest workers
  6. $wmem = $xdistn * 256 # give the VM additional memory for workers [MB]
  7. def packages_debianoid(user)
  8. return <<-EOF
  9. export DEBIAN_FRONTEND=noninteractive
  10. # this is to avoid grub asking about which device it should install to:
  11. echo "set grub-pc/install_devices /dev/sda" | debconf-communicate
  12. apt-get -y -qq update
  13. apt-get -y -qq dist-upgrade
  14. # for building borgbackup and dependencies:
  15. apt install -y pkg-config
  16. apt install -y libssl-dev libacl1-dev libxxhash-dev liblz4-dev libzstd-dev || true
  17. apt install -y libfuse-dev fuse || true
  18. apt install -y libfuse3-dev fuse3 || true
  19. apt install -y locales || true
  20. sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && locale-gen
  21. usermod -a -G fuse #{user}
  22. chgrp fuse /dev/fuse
  23. chmod 666 /dev/fuse
  24. apt install -y fakeroot build-essential git curl
  25. apt install -y python3-dev python3-setuptools virtualenv
  26. # for building python:
  27. apt install -y zlib1g-dev libbz2-dev libncurses5-dev libreadline-dev liblzma-dev libsqlite3-dev libffi-dev
  28. # older debian / ubuntu have no .pc file for these, so we need to point at the lib/header location:
  29. echo 'export BORG_LIBXXHASH_PREFIX=/usr' >> ~vagrant/.bash_profile
  30. EOF
  31. end
  32. def packages_freebsd
  33. return <<-EOF
  34. # in case the VM has no hostname set
  35. hostname freebsd
  36. # install all the (security and other) updates, base system
  37. freebsd-update --not-running-from-cron fetch install
  38. # for building borgbackup and dependencies:
  39. pkg install -y xxhash liblz4 zstd pkgconf
  40. pkg install -y fusefs-libs || true
  41. pkg install -y fusefs-libs3 || true
  42. pkg install -y git bash # fakeroot causes lots of troubles on freebsd
  43. # for building python (for the tests we use pyenv built pythons):
  44. pkg install -y python310 py310-sqlite3
  45. # make sure there is a python3 command
  46. ln -sf /usr/local/bin/python3.10 /usr/local/bin/python3
  47. python3 -m ensurepip
  48. pip3 install virtualenv
  49. # make bash default / work:
  50. chsh -s bash vagrant
  51. mount -t fdescfs fdesc /dev/fd
  52. echo 'fdesc /dev/fd fdescfs rw 0 0' >> /etc/fstab
  53. # make FUSE work
  54. echo 'fuse_load="YES"' >> /boot/loader.conf
  55. echo 'vfs.usermount=1' >> /etc/sysctl.conf
  56. kldload fusefs
  57. sysctl vfs.usermount=1
  58. pw groupmod operator -M vagrant
  59. # /dev/fuse has group operator
  60. chmod 666 /dev/fuse
  61. # install all the (security and other) updates, packages
  62. pkg update
  63. yes | pkg upgrade
  64. echo 'export BORG_OPENSSL_PREFIX=/usr' >> ~vagrant/.bash_profile
  65. # (re)mount / with acls
  66. mount -o acls /
  67. EOF
  68. end
  69. def packages_openbsd
  70. return <<-EOF
  71. pkg_add bash
  72. chsh -s bash vagrant
  73. pkg_add xxhash
  74. pkg_add lz4
  75. pkg_add zstd
  76. pkg_add git # no fakeroot
  77. pkg_add openssl%3.0
  78. pkg_add py3-pip
  79. pkg_add py3-virtualenv
  80. EOF
  81. end
  82. def packages_netbsd
  83. return <<-EOF
  84. echo 'http://ftp.NetBSD.org/pub/pkgsrc/packages/NetBSD/$arch/9.3/All' > /usr/pkg/etc/pkgin/repositories.conf
  85. pkgin update
  86. pkgin -y upgrade
  87. pkg_add zstd lz4 xxhash git
  88. pkg_add bash
  89. chsh -s bash vagrant
  90. echo "export PROMPT_COMMAND=" >> ~vagrant/.bash_profile # bug in netbsd 9.3, .bash_profile broken for screen
  91. echo "export PROMPT_COMMAND=" >> ~root/.bash_profile # bug in netbsd 9.3, .bash_profile broken for screen
  92. pkg_add pkg-config
  93. # pkg_add fuse # llfuse supports netbsd, but is still buggy.
  94. # https://bitbucket.org/nikratio/python-llfuse/issues/70/perfuse_open-setsockopt-no-buffer-space
  95. pkg_add py311-sqlite3 py311-pip py311-virtualenv py311-expat
  96. ln -s /usr/pkg/bin/python3.11 /usr/pkg/bin/python
  97. ln -s /usr/pkg/bin/python3.11 /usr/pkg/bin/python3
  98. ln -s /usr/pkg/bin/pip3.11 /usr/pkg/bin/pip
  99. ln -s /usr/pkg/bin/pip3.11 /usr/pkg/bin/pip3
  100. ln -s /usr/pkg/bin/virtualenv-3.11 /usr/pkg/bin/virtualenv
  101. ln -s /usr/pkg/bin/virtualenv-3.11 /usr/pkg/bin/virtualenv3
  102. EOF
  103. end
  104. def packages_darwin
  105. return <<-EOF
  106. # install all the (security and other) updates
  107. sudo softwareupdate --ignore iTunesX
  108. sudo softwareupdate --ignore iTunes
  109. sudo softwareupdate --ignore Safari
  110. sudo softwareupdate --ignore "Install macOS High Sierra"
  111. sudo softwareupdate --install --all
  112. which brew || CI=1 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
  113. brew update > /dev/null
  114. brew install pkg-config readline xxhash zstd lz4 xz openssl@1.1
  115. brew install --cask macfuse
  116. # brew upgrade # upgrade everything (takes rather long)
  117. echo 'export PKG_CONFIG_PATH=/usr/local/opt/openssl@1.1/lib/pkgconfig' >> ~vagrant/.bash_profile
  118. EOF
  119. end
  120. def packages_openindiana
  121. return <<-EOF
  122. # needs separate provisioning step + reboot:
  123. #pkg update
  124. #pkg install gcc-7 python-39 setuptools-39
  125. ln -sf /usr/bin/python3.9 /usr/bin/python3
  126. python3 -m ensurepip
  127. ln -sf /usr/bin/pip3.9 /usr/bin/pip3
  128. pip3 install virtualenv
  129. EOF
  130. end
  131. def install_pyenv(boxname)
  132. return <<-EOF
  133. echo 'export PYTHON_CONFIGURE_OPTS="${PYTHON_CONFIGURE_OPTS} --enable-shared"' >> ~/.bash_profile
  134. echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.bash_profile
  135. echo 'export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.bash_profile
  136. . ~/.bash_profile
  137. curl -s -L https://raw.githubusercontent.com/yyuu/pyenv-installer/master/bin/pyenv-installer | bash
  138. echo 'eval "$(pyenv init --path)"' >> ~/.bash_profile
  139. echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.bashrc
  140. echo 'export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.bashrc
  141. echo 'eval "$(pyenv init -)"' >> ~/.bashrc
  142. echo 'eval "$(pyenv virtualenv-init -)"' >> ~/.bashrc
  143. EOF
  144. end
  145. def fix_pyenv_darwin(boxname)
  146. return <<-EOF
  147. echo 'export PYTHON_CONFIGURE_OPTS="--enable-framework"' >> ~/.bash_profile
  148. EOF
  149. end
  150. def install_pythons(boxname)
  151. return <<-EOF
  152. . ~/.bash_profile
  153. echo "PYTHON_CONFIGURE_OPTS: ${PYTHON_CONFIGURE_OPTS}"
  154. pyenv install 3.12.0 # tests
  155. pyenv install 3.11.7 # tests, binary build
  156. pyenv install 3.10.2 # tests
  157. pyenv install 3.9.4 # tests
  158. pyenv rehash
  159. EOF
  160. end
  161. def build_sys_venv(boxname)
  162. return <<-EOF
  163. . ~/.bash_profile
  164. cd /vagrant/borg
  165. virtualenv --python=python3 borg-env
  166. EOF
  167. end
  168. def build_pyenv_venv(boxname)
  169. return <<-EOF
  170. . ~/.bash_profile
  171. cd /vagrant/borg
  172. # use the latest 3.11 release
  173. pyenv global 3.11.7
  174. pyenv virtualenv 3.11.7 borg-env
  175. ln -s ~/.pyenv/versions/borg-env .
  176. EOF
  177. end
  178. def install_borg(fuse)
  179. return <<-EOF
  180. . ~/.bash_profile
  181. cd /vagrant/borg
  182. . borg-env/bin/activate
  183. pip install -U wheel # upgrade wheel, might be too old
  184. cd borg
  185. pip install -r requirements.d/development.lock.txt
  186. python setup.py clean clean2
  187. pip install -e .[#{fuse}]
  188. EOF
  189. end
  190. def install_pyinstaller()
  191. return <<-EOF
  192. . ~/.bash_profile
  193. cd /vagrant/borg
  194. . borg-env/bin/activate
  195. pip install 'pyinstaller==6.3.0'
  196. EOF
  197. end
  198. def build_binary_with_pyinstaller(boxname)
  199. return <<-EOF
  200. . ~/.bash_profile
  201. cd /vagrant/borg
  202. . borg-env/bin/activate
  203. cd borg
  204. pyinstaller --clean --distpath=/vagrant/borg scripts/borg.exe.spec
  205. echo 'export PATH="/vagrant/borg:$PATH"' >> ~/.bash_profile
  206. cd .. && tar -czvf borg.tgz borg-dir
  207. EOF
  208. end
  209. def run_tests(boxname, skip_env)
  210. return <<-EOF
  211. . ~/.bash_profile
  212. cd /vagrant/borg/borg
  213. . ../borg-env/bin/activate
  214. if which pyenv 2> /dev/null; then
  215. # for testing, use the earliest point releases of the supported python versions:
  216. pyenv global 3.9.4 3.10.2 3.11.7 3.12.0
  217. pyenv local 3.9.4 3.10.2 3.11.7 3.12.0
  218. fi
  219. # otherwise: just use the system python
  220. # some OSes can only run specific test envs, e.g. because they miss FUSE support:
  221. export TOX_SKIP_ENV='#{skip_env}'
  222. if which fakeroot 2> /dev/null; then
  223. echo "Running tox WITH fakeroot -u"
  224. fakeroot -u tox --skip-missing-interpreters
  225. else
  226. echo "Running tox WITHOUT fakeroot -u"
  227. tox --skip-missing-interpreters
  228. fi
  229. EOF
  230. end
  231. def fs_init(user)
  232. return <<-EOF
  233. # clean up (wrong/outdated) stuff we likely got via rsync:
  234. rm -rf /vagrant/borg/borg/.tox 2> /dev/null
  235. rm -rf /vagrant/borg/borg/borgbackup.egg-info 2> /dev/null
  236. rm -rf /vagrant/borg/borg/__pycache__ 2> /dev/null
  237. find /vagrant/borg/borg/src -name '__pycache__' -exec rm -rf {} \\; 2> /dev/null
  238. chown -R #{user} /vagrant/borg
  239. touch ~#{user}/.bash_profile ; chown #{user} ~#{user}/.bash_profile
  240. echo 'export LANG=en_US.UTF-8' >> ~#{user}/.bash_profile
  241. echo 'export LC_CTYPE=en_US.UTF-8' >> ~#{user}/.bash_profile
  242. echo 'export XDISTN=#{$xdistn}' >> ~#{user}/.bash_profile
  243. EOF
  244. end
  245. Vagrant.configure(2) do |config|
  246. # use rsync to copy content to the folder
  247. config.vm.synced_folder ".", "/vagrant/borg/borg", :type => "rsync", :rsync__args => ["--verbose", "--archive", "--delete", "--exclude", ".python-version"], :rsync__chown => false
  248. # do not let the VM access . on the host machine via the default shared folder!
  249. config.vm.synced_folder ".", "/vagrant", disabled: true
  250. config.vm.provider :virtualbox do |v|
  251. #v.gui = true
  252. v.cpus = $cpus
  253. end
  254. config.vm.define "lunar64" do |b|
  255. b.vm.box = "ubuntu/lunar64"
  256. b.vm.provider :virtualbox do |v|
  257. v.memory = 1024 + $wmem
  258. end
  259. b.vm.provision "fs init", :type => :shell, :inline => fs_init("vagrant")
  260. b.vm.provision "packages debianoid", :type => :shell, :inline => packages_debianoid("vagrant")
  261. b.vm.provision "build env", :type => :shell, :privileged => false, :inline => build_sys_venv("lunar64")
  262. b.vm.provision "install borg", :type => :shell, :privileged => false, :inline => install_borg("llfuse")
  263. b.vm.provision "run tests", :type => :shell, :privileged => false, :inline => run_tests("lunar64", ".*none.*")
  264. end
  265. config.vm.define "jammy64" do |b|
  266. b.vm.box = "ubuntu/jammy64"
  267. b.vm.provider :virtualbox do |v|
  268. v.memory = 1024 + $wmem
  269. end
  270. b.vm.provision "fs init", :type => :shell, :inline => fs_init("vagrant")
  271. b.vm.provision "packages debianoid", :type => :shell, :inline => packages_debianoid("vagrant")
  272. b.vm.provision "build env", :type => :shell, :privileged => false, :inline => build_sys_venv("jammy64")
  273. b.vm.provision "install borg", :type => :shell, :privileged => false, :inline => install_borg("llfuse")
  274. b.vm.provision "run tests", :type => :shell, :privileged => false, :inline => run_tests("jammy64", ".*none.*")
  275. end
  276. config.vm.define "bookworm64" do |b|
  277. b.vm.box = "debian/bookworm64"
  278. b.vm.provider :virtualbox do |v|
  279. v.memory = 1024 + $wmem
  280. end
  281. b.vm.provision "fs init", :type => :shell, :inline => fs_init("vagrant")
  282. b.vm.provision "packages debianoid", :type => :shell, :inline => packages_debianoid("vagrant")
  283. b.vm.provision "install pyenv", :type => :shell, :privileged => false, :inline => install_pyenv("bookworm64")
  284. b.vm.provision "install pythons", :type => :shell, :privileged => false, :inline => install_pythons("bookworm64")
  285. b.vm.provision "build env", :type => :shell, :privileged => false, :inline => build_pyenv_venv("bookworm64")
  286. b.vm.provision "install borg", :type => :shell, :privileged => false, :inline => install_borg("llfuse")
  287. b.vm.provision "install pyinstaller", :type => :shell, :privileged => false, :inline => install_pyinstaller()
  288. b.vm.provision "build binary with pyinstaller", :type => :shell, :privileged => false, :inline => build_binary_with_pyinstaller("bookworm64")
  289. b.vm.provision "run tests", :type => :shell, :privileged => false, :inline => run_tests("bookworm64", ".*none.*")
  290. end
  291. config.vm.define "bullseye64" do |b|
  292. b.vm.box = "debian/bullseye64"
  293. b.vm.provider :virtualbox do |v|
  294. v.memory = 1024 + $wmem
  295. end
  296. b.vm.provision "fs init", :type => :shell, :inline => fs_init("vagrant")
  297. b.vm.provision "packages debianoid", :type => :shell, :inline => packages_debianoid("vagrant")
  298. b.vm.provision "install pyenv", :type => :shell, :privileged => false, :inline => install_pyenv("bullseye64")
  299. b.vm.provision "install pythons", :type => :shell, :privileged => false, :inline => install_pythons("bullseye64")
  300. b.vm.provision "build env", :type => :shell, :privileged => false, :inline => build_pyenv_venv("bullseye64")
  301. b.vm.provision "install borg", :type => :shell, :privileged => false, :inline => install_borg("llfuse")
  302. b.vm.provision "install pyinstaller", :type => :shell, :privileged => false, :inline => install_pyinstaller()
  303. b.vm.provision "build binary with pyinstaller", :type => :shell, :privileged => false, :inline => build_binary_with_pyinstaller("bullseye64")
  304. b.vm.provision "run tests", :type => :shell, :privileged => false, :inline => run_tests("bullseye64", ".*none.*")
  305. end
  306. config.vm.define "buster64" do |b|
  307. b.vm.box = "debian/buster64"
  308. b.vm.provider :virtualbox do |v|
  309. v.memory = 1024 + $wmem
  310. end
  311. b.vm.provision "fs init", :type => :shell, :inline => fs_init("vagrant")
  312. b.vm.provision "packages debianoid", :type => :shell, :inline => packages_debianoid("vagrant")
  313. b.vm.provision "install pyenv", :type => :shell, :privileged => false, :inline => install_pyenv("buster64")
  314. b.vm.provision "install pythons", :type => :shell, :privileged => false, :inline => install_pythons("buster64")
  315. b.vm.provision "build env", :type => :shell, :privileged => false, :inline => build_pyenv_venv("buster64")
  316. b.vm.provision "install borg", :type => :shell, :privileged => false, :inline => install_borg("llfuse")
  317. b.vm.provision "install pyinstaller", :type => :shell, :privileged => false, :inline => install_pyinstaller()
  318. b.vm.provision "build binary with pyinstaller", :type => :shell, :privileged => false, :inline => build_binary_with_pyinstaller("buster64")
  319. b.vm.provision "run tests", :type => :shell, :privileged => false, :inline => run_tests("buster64", ".*none.*")
  320. end
  321. config.vm.define "freebsd64" do |b|
  322. b.vm.box = "generic/freebsd14"
  323. b.vm.provider :virtualbox do |v|
  324. v.memory = 1024 + $wmem
  325. end
  326. b.ssh.shell = "sh"
  327. b.vm.provision "fs init", :type => :shell, :inline => fs_init("vagrant")
  328. b.vm.provision "packages freebsd", :type => :shell, :inline => packages_freebsd
  329. b.vm.provision "install pyenv", :type => :shell, :privileged => false, :inline => install_pyenv("freebsd64")
  330. b.vm.provision "install pythons", :type => :shell, :privileged => false, :inline => install_pythons("freebsd64")
  331. b.vm.provision "build env", :type => :shell, :privileged => false, :inline => build_pyenv_venv("freebsd64")
  332. b.vm.provision "install borg", :type => :shell, :privileged => false, :inline => install_borg("llfuse")
  333. b.vm.provision "install pyinstaller", :type => :shell, :privileged => false, :inline => install_pyinstaller()
  334. b.vm.provision "build binary with pyinstaller", :type => :shell, :privileged => false, :inline => build_binary_with_pyinstaller("freebsd64")
  335. b.vm.provision "run tests", :type => :shell, :privileged => false, :inline => run_tests("freebsd64", ".*(fuse3|none).*")
  336. end
  337. config.vm.define "openbsd64" do |b|
  338. b.vm.box = "generic/openbsd7"
  339. b.vm.provider :virtualbox do |v|
  340. v.memory = 1024 + $wmem
  341. end
  342. b.vm.provision "fs init", :type => :shell, :inline => fs_init("vagrant")
  343. b.vm.provision "packages openbsd", :type => :shell, :inline => packages_openbsd
  344. b.vm.provision "build env", :type => :shell, :privileged => false, :inline => build_sys_venv("openbsd64")
  345. b.vm.provision "install borg", :type => :shell, :privileged => false, :inline => install_borg("nofuse")
  346. b.vm.provision "run tests", :type => :shell, :privileged => false, :inline => run_tests("openbsd64", ".*fuse.*")
  347. end
  348. config.vm.define "netbsd64" do |b|
  349. b.vm.box = "generic/netbsd9"
  350. b.vm.provider :virtualbox do |v|
  351. v.memory = 4096 + $wmem # need big /tmp tmpfs in RAM!
  352. end
  353. b.vm.provision "fs init", :type => :shell, :inline => fs_init("vagrant")
  354. b.vm.provision "packages netbsd", :type => :shell, :inline => packages_netbsd
  355. b.vm.provision "build env", :type => :shell, :privileged => false, :inline => build_sys_venv("netbsd64")
  356. b.vm.provision "install borg", :type => :shell, :privileged => false, :inline => install_borg(false)
  357. b.vm.provision "run tests", :type => :shell, :privileged => false, :inline => run_tests("netbsd64", ".*fuse.*")
  358. end
  359. config.vm.define "darwin64" do |b|
  360. b.vm.box = "macos-sierra"
  361. b.vm.provider :virtualbox do |v|
  362. v.memory = 4096 + $wmem
  363. v.customize ['modifyvm', :id, '--ostype', 'MacOS_64']
  364. v.customize ['modifyvm', :id, '--paravirtprovider', 'default']
  365. v.customize ['modifyvm', :id, '--nested-hw-virt', 'on']
  366. # Adjust CPU settings according to
  367. # https://github.com/geerlingguy/macos-virtualbox-vm
  368. v.customize ['modifyvm', :id, '--cpuidset',
  369. '00000001', '000306a9', '00020800', '80000201', '178bfbff']
  370. # Disable USB variant requiring Virtualbox proprietary extension pack
  371. v.customize ["modifyvm", :id, '--usbehci', 'off', '--usbxhci', 'off']
  372. end
  373. b.vm.provision "fs init", :type => :shell, :inline => fs_init("vagrant")
  374. b.vm.provision "packages darwin", :type => :shell, :privileged => false, :inline => packages_darwin
  375. b.vm.provision "install pyenv", :type => :shell, :privileged => false, :inline => install_pyenv("darwin64")
  376. b.vm.provision "fix pyenv", :type => :shell, :privileged => false, :inline => fix_pyenv_darwin("darwin64")
  377. b.vm.provision "install pythons", :type => :shell, :privileged => false, :inline => install_pythons("darwin64")
  378. b.vm.provision "build env", :type => :shell, :privileged => false, :inline => build_pyenv_venv("darwin64")
  379. b.vm.provision "install borg", :type => :shell, :privileged => false, :inline => install_borg("llfuse")
  380. b.vm.provision "install pyinstaller", :type => :shell, :privileged => false, :inline => install_pyinstaller()
  381. b.vm.provision "build binary with pyinstaller", :type => :shell, :privileged => false, :inline => build_binary_with_pyinstaller("darwin64")
  382. b.vm.provision "run tests", :type => :shell, :privileged => false, :inline => run_tests("darwin64", ".*(fuse3|none).*")
  383. end
  384. # rsync on openindiana has troubles, does not set correct owner for /vagrant/borg and thus gives lots of
  385. # permission errors. can be manually fixed in the VM by: sudo chown -R vagrant /vagrant/borg ; then rsync again.
  386. config.vm.define "openindiana64" do |b|
  387. b.vm.box = "openindiana"
  388. b.vm.provider :virtualbox do |v|
  389. v.memory = 2048 + $wmem
  390. end
  391. b.vm.provision "fs init", :type => :shell, :inline => fs_init("vagrant")
  392. b.vm.provision "packages openindiana", :type => :shell, :inline => packages_openindiana
  393. b.vm.provision "build env", :type => :shell, :privileged => false, :inline => build_sys_venv("openindiana64")
  394. b.vm.provision "install borg", :type => :shell, :privileged => false, :inline => install_borg("nofuse")
  395. b.vm.provision "run tests", :type => :shell, :privileged => false, :inline => run_tests("openindiana64", ".*fuse.*")
  396. end
  397. end