Skip to content

Commit

Permalink
Showing 38 changed files with 7 additions and 96 deletions.
1 change: 0 additions & 1 deletion spec/truffle/tags/core/argf/read_nonblock_tags.txt
Original file line number Diff line number Diff line change
@@ -14,4 +14,3 @@ fails:ARGF.read_nonblock reads up to the given bytes from a file when a file and
fails:ARGF.read_nonblock returns :wait_readable when the :exception is set to false
fails:ARGF.read_nonblock when using multiple files reads up to the given amount of bytes from the first file
fails:ARGF.read_nonblock when using multiple files returns an empty String when reading after having read the first file in its entirety
fails:ARGF.read_nonblock raises IO::EAGAINWaitReadable when STDIN is empty
3 changes: 1 addition & 2 deletions spec/truffle/tags/core/file/ftype_tags.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
fails:File.ftype returns fifo when the file is a fifo
fails:File.ftype returns 'socket' when the file is a socket
fails:File::Stat#ftype returns fifo when the file is a fifo
slow:File.ftype returns fifo when the file is a fifo
3 changes: 0 additions & 3 deletions spec/truffle/tags/core/file/grpowned_tags.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
fails:File.grpowned? takes non primary groups into account
fails(windows):File.grpowned? returns false if the file exist
fails:File.grpowned? accepts an object that has a #to_path method
fails:File.grpowned? returns true if the file exist
1 change: 0 additions & 1 deletion spec/truffle/tags/core/file/link_tags.txt

This file was deleted.

5 changes: 1 addition & 4 deletions spec/truffle/tags/core/file/open_tags.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
fails:File.open opens a file for binary read-write starting at the beginning of the file
fails:File.open raises a SystemCallError if passed an invalid Integer type
fails:File.open with a block does not raise error when file is closed inside the block
fails:File.open on a FIFO opens it as a normal file
fails:File.open opens a file with a file descriptor d and a block
fails:File.open with a block propagates StandardErrors produced by close
slow:File.open on a FIFO opens it as a normal file
2 changes: 1 addition & 1 deletion spec/truffle/tags/core/file/pipe_tags.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
fails:File.pipe? returns true if the file is a pipe
slow:File.pipe? returns true if the file is a pipe
2 changes: 0 additions & 2 deletions spec/truffle/tags/core/file/reopen_tags.txt

This file was deleted.

2 changes: 1 addition & 1 deletion spec/truffle/tags/core/file/setgid_tags.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
fails:File.setgid? returns true when the gid bit is set
slow:File.setgid? returns true when the gid bit is set
2 changes: 1 addition & 1 deletion spec/truffle/tags/core/file/setuid_tags.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
fails:File.setuid? returns true when the gid bit is set
slow:File.setuid? returns true when the gid bit is set
1 change: 0 additions & 1 deletion spec/truffle/tags/core/file/size_tags.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
fails:File#size raises an IOError on a closed file
windows:File.size? returns the size of the file if it exists and is not empty
windows:File.size? returns nil if file_name doesn't exist or has 0 size
windows:File.size? returns nil if file_name is empty
1 change: 0 additions & 1 deletion spec/truffle/tags/core/file/socket_tags.txt

This file was deleted.

2 changes: 1 addition & 1 deletion spec/truffle/tags/core/file/sticky_tags.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
fails:File.sticky? returns true if the file has sticky bit set
fails:File.sticky? returns true if the named file has the sticky bit, otherwise false
fails:File.sticky? cannot set sticky bit to a normal file
slow:File.sticky? returns true if the file has sticky bit set
1 change: 0 additions & 1 deletion spec/truffle/tags/core/file/symlink_tags.txt

This file was deleted.

1 change: 0 additions & 1 deletion spec/truffle/tags/core/io/foreach_tags.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
fails:IO.foreach when the filename starts with | gets data from the standard out of the subprocess
fails:IO.foreach when the filename starts with | gets data from a fork when passed -
fails:IO.foreach sets $_ to nil
fails:IO.foreach when passed name, object when the object is a Fixnum uses the object as a limit if it is a Fixnum
2 changes: 0 additions & 2 deletions spec/truffle/tags/core/io/output_tags.txt

This file was deleted.

2 changes: 0 additions & 2 deletions spec/truffle/tags/core/io/pid_tags.txt

This file was deleted.

14 changes: 0 additions & 14 deletions spec/truffle/tags/core/io/popen_tags.txt
Original file line number Diff line number Diff line change
@@ -1,18 +1,4 @@
fails:IO.popen returns an open IO
fails:IO.popen reads a read-only pipe
fails:IO.popen raises IOError when writing a read-only pipe
fails:IO.popen writes to a write-only pipe
fails:IO.popen raises IOError when reading a write-only pipe
fails:IO.popen reads and writes a read/write pipe
fails:IO.popen waits for the child to finish
fails:IO.popen does not throw an exception if child exited and has been waited for
fails:IO.popen returns an instance of a subclass when called on a subclass
fails:IO.popen coerces mode argument with #to_str
fails:IO.popen starts returns a forked process if the command is -
fails:IO.popen has the given external encoding
fails:IO.popen has the given internal encoding
fails:IO.popen sets the internal encoding to nil if it's the same as the external encoding
fails:IO.popen with a block yields an open IO to the block
fails:IO.popen with a block yields an instance of a subclass when called on a subclass
fails:IO.popen with a block closes the IO after yielding
fails:IO.popen with a block allows the IO to be closed inside the block
1 change: 0 additions & 1 deletion spec/truffle/tags/core/io/puts_tags.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
fails:IO#puts writes just a newline when given just a newline
fails:IO#puts calls :to_ary before writing non-string objects, regardless of it being implemented in the receiver
fails:IO#puts calls :to_ary before writing non-string objects
fails:IO#puts returns general object info if :to_s does not return a string
2 changes: 0 additions & 2 deletions spec/truffle/tags/core/io/read_nonblock_tags.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
fails:IO#read_nonblock returns less data if that is all that is available
fails:IO#read_nonblock raises EOFError when the end is reached
fails:IO#read_nonblock when exception option is set to false when there is no data returns :wait_readable
fails:IO#read_nonblock when exception option is set to false when the end is reached returns nil
3 changes: 0 additions & 3 deletions spec/truffle/tags/core/io/read_tags.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
fails:IO.read from a pipe runs the rest as a subprocess and returns the standard output
fails:IO.read from a pipe opens a pipe to a fork if the rest is -
fails:IO.read from a pipe reads only the specified number of bytes requested
fails:IO.read from a pipe raises Errno::ESPIPE if passed an offset
fails(hangs):IO#read raises IOError when stream is closed by another thread
fails(windows):IO#read on Windows normalizes line endings in text mode
fails(windows):IO#read on Windows does not normalize line endings in binary mode
1 change: 0 additions & 1 deletion spec/truffle/tags/core/io/readlines_tags.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
fails:IO#readlines when passed a string that starts with a | gets data from the standard out of the subprocess
fails:IO#readlines when passed a string that starts with a | gets data from a fork when passed -
fails:IO.readlines when passed name, object when the object is a Fixnum uses the object as a limit if it is a Fixnum
fails:IO.readlines when passed name, object when the object is a String accepts non-ASCII data as separator
3 changes: 0 additions & 3 deletions spec/truffle/tags/core/io/select_tags.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
fails:IO.select blocks for duration of timeout if there are no objects ready for I/O
fails:IO.select returns immediately all objects that are ready for I/O when timeout is 0
fails:IO.select returns nil after timeout if there are no objects ready for I/O
fails:IO.select returns supplied objects when they are ready for I/O
fails:IO.select leaves out IO objects for which there is no I/O ready
fails:IO.select returns supplied objects correctly even when monitoring the same object in different arrays
fails:IO.select invokes to_io on supplied objects that are not IO and returns the supplied objects
fails:IO.select when passed nil for timeout sleeps forever
3 changes: 0 additions & 3 deletions spec/truffle/tags/core/io/stat_tags.txt

This file was deleted.

5 changes: 0 additions & 5 deletions spec/truffle/tags/core/io/sysread_tags.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1 @@
fails:IO#sysread on a file reads the specified number of bytes from the file
fails:IO#sysread on a file reads the specified number of bytes from the file to the buffer
fails:IO#sysread on a file coerces the second argument to string and uses it as a buffer
fails:IO#sysread on a file advances the position of the file by the specified number of bytes
fails:IO#sysread on a file reads normally even when called immediately after a buffered IO#read
fails:IO#sysread on a file reads updated content after the flushed buffered IO#write
1 change: 0 additions & 1 deletion spec/truffle/tags/core/io/sysseek_tags.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
fails:IO#sysseek does not accept Bignums that don't fit in a C long
fails:IO#sysseek moves the read position relative to the end with SEEK_END
3 changes: 0 additions & 3 deletions spec/truffle/tags/core/io/syswrite_tags.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
fails:IO#syswrite on a file writes all of the string's bytes but does not buffer them
fails:IO#syswrite on a file warns if called immediately after a buffered IO#write
fails:IO#syswrite on a file does not warn if called after IO#write with intervening IO#sysread
fails:IO#syswrite on a file writes to the actual file position when called after buffered IO#read
1 change: 0 additions & 1 deletion spec/truffle/tags/core/io/tell_tags.txt

This file was deleted.

1 change: 0 additions & 1 deletion spec/truffle/tags/core/io/ungetbyte_tags.txt

This file was deleted.

2 changes: 1 addition & 1 deletion spec/truffle/tags/core/io/write_tags.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
fails(windows):IO#write on Windows normalizes line endings in text mode
fails(windows):IO#write on Windows does not normalize line endings in binary mode
fails:IO.write on a FIFO writes correctly
slow:IO.write on a FIFO writes correctly
1 change: 0 additions & 1 deletion spec/truffle/tags/core/module/prepend_tags.txt

This file was deleted.

1 change: 0 additions & 1 deletion spec/truffle/tags/core/proc/yield_tags.txt

This file was deleted.

4 changes: 0 additions & 4 deletions spec/truffle/tags/core/process/exec_tags.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
fails:Process.exec raises Errno::ENOENT for an empty string
fails:Process.exec raises Errno::ENOENT for a command which does not exist
fails:Process.exec raises an ArgumentError if the command includes a null byte
fails:Process.exec raises Errno::EACCES when the file does not have execute permissions
fails:Process.exec raises Errno::EACCES when passed a directory
fails:Process.exec runs the specified command, replacing current process
fails:Process.exec sets the current directory when given the :chdir option
fails:Process.exec flushes STDERR upon exit when it's not set to sync
fails:Process.exec with a single argument subjects the specified command to shell expansion
fails:Process.exec with a single argument creates an argument array with shell parsing semantics for whitespace
fails:Process.exec (environment variables) sets environment variables in the child environment
@@ -36,6 +34,4 @@ slow:Process.exec with a command array uses the first element as the command nam
slow:Process.exec with a command array coerces the argument using to_ary
slow:Process.exec with a command array raises an ArgumentError if the Array does not have exactly two elements
slow:Process.exec with an options Hash with Integer option keys maps the key to a file descriptor in the child that inherits the file descriptor from the parent specified by the value
fails:Process.exec flushes STDOUT upon exit when it's not set to sync
fails:Process.exec with multiple arguments does not subject the arguments to shell expansion

1 change: 0 additions & 1 deletion spec/truffle/tags/core/process/groups_tags.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
fails:Process.groups gets an Array of the gids of groups in the supplemental group access list
fails:Process.groups sets the list of gids of groups in the supplemental group access list
20 changes: 0 additions & 20 deletions spec/truffle/tags/core/process/spawn_tags.txt
Original file line number Diff line number Diff line change
@@ -1,28 +1,8 @@
fails:Process.spawn executes the given command
fails:Process.spawn returns the process ID of the new process as a Fixnum
fails:Process.spawn returns immediately
fails:Process.spawn sets environment variables in the child environment
fails:Process.spawn unsets environment variables whose value is nil
fails:Process.spawn calls #to_hash to convert the environment
fails:Process.spawn calls #to_str to convert the environment keys
fails:Process.spawn calls #to_str to convert the environment values
fails:Process.spawn raises an ArgumentError if an environment key includes an equals sign
fails:Process.spawn raises an ArgumentError if an environment key includes a null byte
fails:Process.spawn raises an ArgumentError if an environment value includes a null byte
fails:Process.spawn unsets other environment variables when given a true :unsetenv_others option
fails:Process.spawn unsets other environment variables when given a non-false :unsetenv_others option
fails:Process.spawn does not unset other environment variables when given a false :unsetenv_others option
fails:Process.spawn does not unset other environment variables when given a nil :unsetenv_others option
fails:Process.spawn does not unset environment variables included in the environment hash
fails:Process.spawn joins the current process group by default
fails:Process.spawn joins the current process if pgroup: false
fails:Process.spawn joins the current process if pgroup: nil
fails:Process.spawn joins a new process group if pgroup: true
fails:Process.spawn joins a new process group if pgroup: 0
fails:Process.spawn joins the specified process group if pgroup: pgid
fails:Process.spawn raises an ArgumentError if given a negative :pgroup option
fails:Process.spawn raises a TypeError if given a symbol as :pgroup option
fails:Process.spawn uses the current working directory as its working directory
fails:Process.spawn uses the current umask by default
fails:Process.spawn sets the umask if given the :umask option
fails:Process.spawn raises an ArgumentError if passed no command arguments
1 change: 0 additions & 1 deletion spec/truffle/tags/core/process/wait2_tags.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
fails:Process.wait2 returns the pid and status of child process
fails:Process.wait2 raises a StandardError if no child processes exist
1 change: 0 additions & 1 deletion spec/truffle/tags/core/process/wait_tags.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
fails:Process.wait raises an Errno::ECHILD if there are no child processes
fails:Process.wait returns its childs pid
fails:Process.wait sets $? to a Process::Status
fails:Process.wait waits for any child process if no pid is given
2 changes: 0 additions & 2 deletions spec/truffle/tags/core/process/waitall_tags.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
fails:Process.waitall returns an empty array when there are no children
fails:Process.waitall takes no arguments
fails:Process.waitall waits for all children
fails:Process.waitall returns an array of pid/status pairs
1 change: 0 additions & 1 deletion spec/truffle/tags/core/process/waitpid_tags.txt

This file was deleted.

0 comments on commit c1fcd39

Please sign in to comment.