blob: 5c10a7140d162027ae6936980ac264337fdb7905 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
require_relative '../spec_helper'
describe "the -F command line option" do
before :each do
@passwd = fixture __FILE__, "passwd_file.txt"
end
it "specifies the field separator pattern for -a" do
ruby_exe("puts $F[0]", options: "-naF:",
args: " < #{@passwd}").should ==
"nobody\nroot\ndaemon\n"
end
end
|