lib/specinfra/command/base/file.rb in specinfra-2.9.3 vs lib/specinfra/command/base/file.rb in specinfra-2.10.0
- old
+ new
@@ -6,9 +6,13 @@
def check_is_directory(directory)
"test -d #{escape(directory)}"
end
+ def check_is_pipe(file)
+ "test -p #{escape(file)}"
+ end
+
def check_is_socket(file)
"test -S #{escape(file)}"
end
def check_is_symlink(file)