Skip to content

Commit 7343011

Browse files
committed
[Truffle] Untagging file_stat specs.
1 parent 2162163 commit 7343011

23 files changed

+1
-80
lines changed

spec/truffle/tags/core/file/stat/blockdev_tags.txt

Lines changed: 0 additions & 2 deletions
This file was deleted.

spec/truffle/tags/core/file/stat/chardev_tags.txt

Lines changed: 0 additions & 2 deletions
This file was deleted.

spec/truffle/tags/core/file/stat/directory_tags.txt

Lines changed: 0 additions & 5 deletions
This file was deleted.

spec/truffle/tags/core/file/stat/executable_real_tags.txt

Lines changed: 0 additions & 5 deletions
This file was deleted.

spec/truffle/tags/core/file/stat/executable_tags.txt

Lines changed: 0 additions & 5 deletions
This file was deleted.
Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1 @@
1-
fails:File::Stat#file? returns true if the named file exists and is a regular file.
2-
fails:File::Stat#file? accepts an object that has a #to_path method
3-
fails:File::Stat#file? returns true if the null device exists and is a regular file.
4-
fails:File::Stat#file? raises a TypeError if not passed a String type
51
windows:File::Stat#file? raises an ArgumentError if not passed one argument
Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,2 @@
1-
fails:File::Stat#ftype returns a String
2-
fails:File::Stat#ftype returns 'file' when the file is a file
3-
fails:File::Stat#ftype returns 'directory' when the file is a dir
4-
fails:File::Stat#ftype returns 'characterSpecial' when the file is a char
5-
fails:File::Stat#ftype returns 'blockSpecial' when the file is a block
6-
fails:File::Stat#ftype returns 'link' when the file is a link
71
fails:File::Stat#ftype returns fifo when the file is a fifo
82
fails:File::Stat#ftype returns 'socket' when the file is a socket

spec/truffle/tags/core/file/stat/gid_tags.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
1-
fails:File::Stat#grpowned? returns true if the file exist
2-
fails:File::Stat#grpowned? accepts an object that has a #to_path method
31
fails:File::Stat#grpowned? takes non primary groups into account
42
fails(windows):File::Stat#grpowned? returns false if the file exist

spec/truffle/tags/core/file/stat/mode_tags.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

spec/truffle/tags/core/file/stat/new_tags.txt

Lines changed: 0 additions & 3 deletions
This file was deleted.

spec/truffle/tags/core/file/stat/owned_tags.txt

Lines changed: 0 additions & 2 deletions
This file was deleted.

spec/truffle/tags/core/file/stat/readable_real_tags.txt

Lines changed: 0 additions & 2 deletions
This file was deleted.

spec/truffle/tags/core/file/stat/readable_tags.txt

Lines changed: 0 additions & 2 deletions
This file was deleted.

spec/truffle/tags/core/file/stat/size_tags.txt

Lines changed: 0 additions & 8 deletions
This file was deleted.

spec/truffle/tags/core/file/stat/symlink_tags.txt

Lines changed: 0 additions & 2 deletions
This file was deleted.

spec/truffle/tags/core/file/stat/uid_tags.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

spec/truffle/tags/core/file/stat/world_readable_tags.txt

Lines changed: 0 additions & 6 deletions
This file was deleted.

spec/truffle/tags/core/file/stat/world_writable_tags.txt

Lines changed: 0 additions & 6 deletions
This file was deleted.

spec/truffle/tags/core/file/stat/writable_real_tags.txt

Lines changed: 0 additions & 4 deletions
This file was deleted.

spec/truffle/tags/core/file/stat/writable_tags.txt

Lines changed: 0 additions & 2 deletions
This file was deleted.
Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,2 @@
1-
fails:File::Stat#zero? returns true if the file is empty
2-
fails:File::Stat#zero? returns false if the file is not empty
3-
fails:File::Stat#zero? accepts an object that has a #to_path method
4-
fails:File::Stat#zero? returns true for /dev/null
5-
fails:File::Stat#zero? raises an ArgumentError if not passed one argument
6-
fails:File::Stat#zero? raises a TypeError if not passed a String type
7-
fails:File::Stat#zero? returns true inside a block opening a file if it is empty
8-
fails:File::Stat#zero? returns false for a directory
91
fails(windows):File::Stat#zero? returns true for NUL
102
fails(windows):File::Stat#zero? returns true for a directory

truffle/src/main/java/org/jruby/truffle/nodes/rubinius/PosixNodes.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public int chmod(RubyString path, int mode) {
4444

4545
}
4646

47-
@CoreMethod(names = "chown", isModuleFunction = true, required = 3)
47+
@CoreMethod(names = "chown", isModuleFunction = true, required = 3, lowerFixnumParameters = {1, 2})
4848
public abstract static class ChownNode extends CoreMethodArrayArgumentsNode {
4949

5050
public ChownNode(RubyContext context, SourceSection sourceSection) {

0 commit comments

Comments
 (0)