Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[Truffle] Tagged a bunch of failing Windows-specific specs.
  • Loading branch information
nirvdrum committed Jan 28, 2015
1 parent 8e86650 commit c8a63b3
Show file tree
Hide file tree
Showing 15 changed files with 29 additions and 0 deletions.
1 change: 1 addition & 0 deletions spec/truffle/tags/core/dir/fileno_tags.txt
@@ -1 +1,2 @@
fails:Dir#fileno returns the file descriptor of the dir
fails(windows):Dir#fileno raises an error
4 changes: 4 additions & 0 deletions spec/truffle/tags/core/file/basename_tags.txt
Expand Up @@ -9,3 +9,7 @@ fails:File.basename raises a TypeError if the arguments are not String types
fails:File.basename accepts an object that has a #to_path method
fails:File.basename raises an ArgumentError if passed more than two arguments
fails:File.basename returns the extension for a multibyte filename
fails(windows):File.basename returns the basename for windows
fails(windows):File.basename returns basename windows unc
fails(windows):File.basename returns basename windows forward slash
fails(windows):File.basename returns basename with windows suffix
4 changes: 4 additions & 0 deletions spec/truffle/tags/core/file/chmod_tags.txt
Expand Up @@ -18,3 +18,7 @@ fails:File.chmod with '0444' makes file readable but not writable or executable
fails:File.chmod with '0666' makes file readable and writable but not executable
fails:File.chmod with '0111' makes file executable but not readable or writable
fails:File.chmod modifies the permission bits of the files specified
fails(windows):File#chmod with '0444' makes file readable and executable but not writable
fails(windows):File#chmod with '0644' makes file readable and writable and also executable
fails(windows):File.chmod with '0444' makes file readable and executable but not writable
fails(windows):File.chmod with '0644' makes file readable and writable and also executable
1 change: 1 addition & 0 deletions spec/truffle/tags/core/file/constants/constants_tags.txt
Expand Up @@ -17,3 +17,4 @@ fails:File::Constants::TRUNC is defined
fails:File::Constants::WRONLY is defined
fails:File::Constants::NOCTTY is defined
fails:File::Constants::SYNC is defined
fails(windows):File::Constants::BINARY is defined
4 changes: 4 additions & 0 deletions spec/truffle/tags/core/file/dirname_tags.txt
Expand Up @@ -2,3 +2,7 @@ fails:File.dirname returns all the components of filename except the last one
fails:File.dirname returns all the components of filename except the last one (edge cases on all platforms)
fails:File.dirname returns all the components of filename except the last one (edge cases on non-windows)
fails:File.dirname accepts an object that has a #to_path method
fails(windows):File.dirname returns all the components of filename except the last one (edge cases on windows)
fails(windows):File.dirname returns the return all the components of filename except the last one (Windows format)
fails(windows):File.dirname returns the return all the components of filename except the last one (windows unc)
fails(windows):File.dirname returns the return all the components of filename except the last one (forward_slash)
2 changes: 2 additions & 0 deletions spec/truffle/tags/core/file/expand_path_tags.txt
Expand Up @@ -14,3 +14,5 @@ fails:File.expand_path does not modify a HOME string argument
fails:File.expand_path when HOME is not set raises an ArgumentError when passed '~' if HOME is nil
fails:File.expand_path when HOME is not set raises an ArgumentError when passed '~/' if HOME is nil
fails:File.expand_path when HOME is not set raises an ArgumentError when passed '~' if HOME == ''
fails(windows):File.expand_path does not return a frozen string
fails(windows):File.expand_path expands C:/./dir to C:/dir
2 changes: 2 additions & 0 deletions spec/truffle/tags/core/file/fnmatch_tags.txt
Expand Up @@ -64,3 +64,5 @@ fails:File.fnmatch? accepts an object that has a #to_path method
fails:File.fnmatch? raises a TypeError if the first and second arguments are not string-like
fails:File.fnmatch? raises a TypeError if the third argument is not an Integer
fails:File.fnmatch? does not raise a TypeError if the third argument can be coerced to an Integer
fails(windows):File.fnmatch matches case sensitive characters on platfroms with case insensitive paths, when flags include FNM_SYSCASE
fails(windows):File.fnmatch? matches case sensitive characters on platfroms with case insensitive paths, when flags include FNM_SYSCASE
1 change: 1 addition & 0 deletions spec/truffle/tags/core/file/grpowned_tags.txt
Expand Up @@ -2,3 +2,4 @@ fails:File.grpowned? returns true if the file exist
fails:File.grpowned? accepts an object that has a #to_path method
fails:File.grpowned? takes non primary groups into account
fails:File.grpowned? returns false if file the does not exist
fails(windows):File.grpowned? returns false if the file exist
1 change: 1 addition & 0 deletions spec/truffle/tags/core/file/join_tags.txt
Expand Up @@ -10,3 +10,4 @@ fails:File.join raises a TypeError exception when args are nil
fails:File.join calls #to_str
fails:File.join doesn't mutate the object when calling #to_str
fails:File.join calls #to_path
fails(windows):File.join respects given separator if only one part has a boundary separator
1 change: 1 addition & 0 deletions spec/truffle/tags/core/file/null_tags.txt
@@ -1 +1,2 @@
fails:File::NULL returns /dev/null as a string
fails(windows):File::NULL returns NUL as a string
1 change: 1 addition & 0 deletions spec/truffle/tags/core/file/read_tags.txt
@@ -1 +1,2 @@
fails:File.read raises an Errno::EISDIR when passed a path that is a directory
fails(windows):File.read raises an Errno::EACCES when passed a path that is a directory
1 change: 1 addition & 0 deletions spec/truffle/tags/core/file/stat/grpowned_tags.txt
@@ -1,3 +1,4 @@
fails:File::Stat#grpowned? returns true if the file exist
fails:File::Stat#grpowned? accepts an object that has a #to_path method
fails:File::Stat#grpowned? takes non primary groups into account
fails(windows):File::Stat#grpowned? returns false if the file exist
2 changes: 2 additions & 0 deletions spec/truffle/tags/core/file/stat/zero_tags.txt
Expand Up @@ -6,3 +6,5 @@ fails:File::Stat#zero? raises an ArgumentError if not passed one argument
fails:File::Stat#zero? raises a TypeError if not passed a String type
fails:File::Stat#zero? returns true inside a block opening a file if it is empty
fails:File::Stat#zero? returns false for a directory
fails(windows):File::Stat#zero? returns true for NUL
fails(windows):File::Stat#zero? returns true for a directory
2 changes: 2 additions & 0 deletions spec/truffle/tags/core/file/umask_tags.txt
Expand Up @@ -3,3 +3,5 @@ fails:File.umask returns the current umask value for the process
fails:File.umask invokes to_int on non-integer argument
fails:File.umask always succeeds with any integer values
fails:File.umask raises ArgumentError when more than one argument is provided
fails(windows):File.umask returns the current umask value for this process (basic)
fails(windows):File.umask returns the current umask value for this process
2 changes: 2 additions & 0 deletions spec/truffle/tags/core/file/zero_tags.txt
Expand Up @@ -7,3 +7,5 @@ fails:File.zero? raises a TypeError if not passed a String type
fails:File.zero? returns true inside a block opening a file if it is empty
fails:File.zero? returns false for a directory
fails:File.zero? returns false if the file does not exist
fails(windows):File.zero? returns true for NUL
fails(windows):File.zero? returns true for a directory

0 comments on commit c8a63b3

Please sign in to comment.