JS: correct file size and times
Programs produced by the JavaScript backend were returning incorrect file sizes and modification times, causing cabal related tests to fail. This fixes the problem and adds an additional test that verifies basic file information operations. fixes #23980
Showing
- libraries/base/configure.ac 6 additions, 0 deletionslibraries/base/configure.ac
- libraries/base/jsbits/base.js 9 additions, 13 deletionslibraries/base/jsbits/base.js
- testsuite/tests/cabal/all.T 2 additions, 0 deletionstestsuite/tests/cabal/all.T
- testsuite/tests/cabal/fileStatus.hs 110 additions, 0 deletionstestsuite/tests/cabal/fileStatus.hs
- testsuite/tests/cabal/fileStatus.stdout 18 additions, 0 deletionstestsuite/tests/cabal/fileStatus.stdout
Loading
Please register or sign in to comment