1. 29 4月, 2017 1 次提交
    • B
      Protect xtests against different default users · ef18f9ca
      Benjamin Sago 提交于
      The Vagrant tests assumed that there’d be a user called “vagrant” that would run the tests and create the files by default. Files would be owned by vagrant:vagrant by default, and this worked, until it came time to change that username. The naïve method was a search-and-replace, but this caused problems when the new user’s name wasn’t exactly the same length as the previous one.
      
      So to fix this, we now have our own user, named after the first animal I thought of, that makes the files’ owners and groups independent of the default user of whichever VM image the xtests are running on.
      
      Another place where it was hard-coded was the home directory, which was “/home/vagrant”, where the awkward testcases live. That last one has been changed to just “/testcases”, which has no mention of the user in it.
      ef18f9ca
  2. 08 10月, 2016 1 次提交
    • B
      Replace the testcases script with a Vagrant VM · 54067bf7
      Benjamin Sago 提交于
      See the README section for more details. Basically, with this way, we can store a bunch of existing valid exa outputs, change a VM's environment to match our values, then check that exa still works by comparing outputs.
      54067bf7