- 29 4月, 2017 6 次提交
-
-
由 Benjamin Sago 提交于
-
由 Benjamin Sago 提交于
This name more accurately reflects which code is being tested (things like .png and Makefile, rather than pipes and sockets), freeing up file-types for *actual* file types to be tested.
-
由 Benjamin Sago 提交于
The non-contrib Debian one doesn’t come with guest additions, meaning it used rsync instead of Virtualbox shared folders to sync files, meaning edits made in the VM didn’t get propogated back to the host, meaning I got very confused for a while. Thanks to the parent commit, this shouldn’t be an issue at all: the default user name, which is now “ubuntu” instead of “vagrant” is specified in a lot fewer places, making it much easier to change.
-
由 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.
-
由 Benjamin Sago 提交于
There was a problem with the Vagrant tests where the year 2016 was hard-coded in as the modified date. This had to be done to make the --long tests use the correct date format, which varies depending on whether the timestamp is in the current year. Unfortunately, time progresses [citation needed], and what was once 2016 is now 2017, so the date format changed and the tests broke. Because the Vagrantfile is just a Ruby script, we can look up the current year at runtime and use that instead. There’s also a check added to the test runner that makes sure none of the files are more than 365 days old, because if any are, then it’s time to update the timestamps (or it’s the last day of a leap year)
-
由 Benjamin Sago 提交于
-
- 27 4月, 2017 1 次提交
-
-
由 Benjamin Sago 提交于
Add cr2 as image
-
- 19 4月, 2017 1 次提交
-
-
由 Raphaël Pinson 提交于
-
- 11 4月, 2017 2 次提交
-
-
由 Benjamin Sago 提交于
Fix some issues indicated by clippy
-
由 Benjamin Sago 提交于
-
- 02 4月, 2017 6 次提交
-
-
由 Benjamin Sago 提交于
The last PR was meant to remove the duplicate bitflags, but I think I messed it up and another one crept in.
-
由 Benjamin Sago 提交于
Use official vagrant jessie64
-
由 Benjamin Sago 提交于
Update dependencies
-
由 Benjamin Sago 提交于
-
由 Benjamin Sago 提交于
Exit with a non-zero status on error
-
由 Benjamin Sago 提交于
Update git2 to 0.6.4
-
- 01 4月, 2017 10 次提交
-
-
由 Laurent Arnoud 提交于
With `ls` from Debian coreutils 8.26-2 ``` ls /bad/path echo $? # => 2 ``` Reproduced same behaviour with exa Fix https://github.com/ogham/exa/issues/135
-
由 Laurent Arnoud 提交于
-
由 Laurent Arnoud 提交于
-
由 Daniel Lockyer 提交于
-
由 Daniel Lockyer 提交于
-
由 Daniel Lockyer 提交于
-
由 Daniel Lockyer 提交于
-
由 Daniel Lockyer 提交于
-
由 Daniel Lockyer 提交于
-
由 Daniel Lockyer 提交于
-
- 31 3月, 2017 1 次提交
-
-
由 Steven Allen 提交于
* Also remove bitflags as it isn't used. * Don't update ansi_term as ANSIString is no longer Clone.
-
- 27 3月, 2017 2 次提交
-
-
由 Benjamin Sago 提交于
-
由 Benjamin Sago 提交于
-
- 26 2月, 2017 1 次提交
-
-
由 Laurent Arnoud 提交于
-
- 31 10月, 2016 1 次提交
-
-
由 Ben S 提交于
-
- 30 10月, 2016 9 次提交
-
-
由 Ben S 提交于
This adds an option (always on at the moment) to use a colour scale of green to yellow to orange for the file size field instead of always green. See #65.
-
由 Ben S 提交于
This makes the Colours value pick a colour based on the size of the file, instead of necessarily having them all green. (They are all green for now, though.)
-
由 Ben S 提交于
-
由 Ben S 提交于
See #97 and recently #130 too. This allows the user to pass in options such as "--ignore '*.pyc'" to not list any files ending in '.pyc' in the output. It uses the Rust glob crate and currently does a simple split on pipe, without any escaping, so it’s not really *complete*, but is at least something.
-
由 Ben S 提交于
This has to be done for when ignore patterns get introduced and have to be stored in a Vec.
-
由 Ben S 提交于
-
由 Ben S 提交于
Fixes #123. The code assumes that every File that has its link_target() method called would first have been checked to make sure it’s actually a link first. Unfortunately it also assumed that the only thing that can go wrong while following a link is if the file wasn’t a link, meaning it crashes when given a link it doesn’t have permission to follow. This makes the file_target() method able to return either a file or path for displaying, as before, but also an IO error for when things go wrong.
-
由 Ben S 提交于
-
由 Ben S 提交于
-