Skip to content
Browse files

Add regression tests for #202

  • Loading branch information...
1 parent ebbf489 commit fa062f0d39c95897e3d0749785685fd5ccfebbc5 @jordansissel committed Apr 10, 2012
Showing with 14 additions and 0 deletions.
  1. +14 −0 spec/fpm/package/rpm_spec.rb
View
14 spec/fpm/package/rpm_spec.rb
@@ -197,6 +197,20 @@
# This will raise an exception if rpmbuild fails.
subject.output(@target.path)
end
+
+ it "should permit brackets in filenames (issue #202)" do
+ File.write(subject.staging_path("file[with]bracket"), "Hello")
+
+ # This will raise an exception if rpmbuild fails.
+ subject.output(@target.path)
+ end
+
+ it "should permit asterisks in filenames (issue #202)" do
+ File.write(subject.staging_path("file*asterisk"), "Hello")
+
+ # This will raise an exception if rpmbuild fails.
+ subject.output(@target.path)
+ end
end # regression stuff
end # #output

0 comments on commit fa062f0

Please sign in to comment.
Something went wrong with that request. Please try again.