You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Nixpkgs always runs tests by default after building sources from Hackage (EDIT: so this isn't necessarily limted to nixpkgs; should fail on anything that tests builds from Hackage). It seems the lack of test/data/dir and test/data/symlinked_dir on the Hackage source for this package causes one of the tests to fail
running tests
Running 1 test suites...
Test suite shelly-testsuite: RUNNING...
file with invalid encoding
readBinary
readfile
which
gives full path to cabal
recognizes cabal as a path executable
cannot find missing exe
writefile
creates and overwrites a file
writeBinary
creates and overwrites a file
appendfile
creates and appends a file
touchfile
creates and updates a file
mv file
to same dir
to other dir
mv dir
to dir does not exist: create the to dir
to dir exists: creates a nested directory, full to path given
to dir exists: creates a nested directory, partial to path given
rm file
rm
rm_r
rm_f
rm_rf dir
empty dir
dir with file
rm symlink
rm
rm_f
rm_rf
relativeTo
relative to non-existent dir
relative to existing dir
abs path relative to existing dir
relative listing
lists relative files
finds relative files
find
empty list for empty dir
lists relative files
lists absolute files
follow symlinks FAILED [1]
not follow symlinks FAILED [2]
getting unset env variables
get_env
get_env_text
with SHELLY var set
get_env
get_env_text
failure set to stderr
testing
writes a failure message to stderr
failure set to directory
testing
writes a failure message to a .shelly directory
cp file
cp to same dir
cp to other dir
cp dir
to dir does not exist: create the to dir
to dir exists: creates a nested directory, full to path given
to dir exists: creates a nested directory, partial to path given
copies the same dir
basic actions
Hello!
lifted sub
run
wibble
simple command
*
with escaping
ChangeLog.md dist LICENSE README.md Setup Setup.hs shelly.cabal src test
without escaping
Selbstverständlich überraschend
with binary handle mode
bash
wibble
simple command
ChangeLog.md dist LICENSE README.md Setup Setup.hs shelly.cabal src test
without escaping
Selbstverständlich überraschend
with binary handle mode
bar
preserve pipe behaviour
sshCommandText
simple command
space command
multiple space commands
commands with quotes and spaces
Failures:
test/src/FindSpec.hs:73:
1) find follow symlinks
expected: [FilePath "dir",FilePath "nonascii.txt",FilePath "symlinked_dir",FilePath "zshrc",FilePath "dir/symlinked_dir",FilePath "dir/symlinked_dir/hoge_file",FilePath "symlinked_dir/hoge_file"]
but got: [FilePath "nonascii.txt",FilePath "zshrc"]
test/src/FindSpec.hs:78:
2) find not follow symlinks
expected: [FilePath "dir",FilePath "nonascii.txt",FilePath "symlinked_dir",FilePath "zshrc",FilePath "dir/symlinked_dir",FilePath "symlinked_dir/hoge_file"]
but got: [FilePath "nonascii.txt",FilePath "zshrc"]
Randomized with seed 155472032
Finished in 0.1488 seconds
57 examples, 2 failures
Test suite shelly-testsuite: FAIL
Test suite logged to: dist/test/shelly-1.7.0-shelly-testsuite.log
0 of 1 test suites (0 of 1 test cases) passed.
The text was updated successfully, but these errors were encountered:
Nixpkgs always runs tests by default after building sources from Hackage (EDIT: so this isn't necessarily limted to nixpkgs; should fail on anything that tests builds from Hackage). It seems the lack of
test/data/dir
andtest/data/symlinked_dir
on the Hackage source for this package causes one of the tests to failThe text was updated successfully, but these errors were encountered: