blob: 020968b1f9ea0bd7e621f040a0b3b80106931645 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
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:", escape: true,
args: " < #{@passwd}").should ==
"nobody\nroot\ndaemon\n"
end
end
|