fix for fedora
This commit is contained in:
parent
6db83be128
commit
317cee6ab0
1 changed files with 10 additions and 2 deletions
|
|
@ -48,7 +48,11 @@ rlJournalStart
|
|||
rlGetTestState && {
|
||||
rlPhaseStartTest
|
||||
rlRun "enscript -f 'Times-Roman22' --header '%W Page $% of $=' -p output.ps testfile.txt" 0 "Generate ps file"
|
||||
rlRun "test $(diff example.ps output.ps | wc -l) -eq 8" 0 "Output diff has 8 lines, difference in date"
|
||||
if ! rlIsFedora; then
|
||||
rlRun "test $(diff example.ps output.ps | wc -l) -eq 8" 0 "Output diff has 8 lines, difference in date"
|
||||
else
|
||||
rlRun "test $(diff example.ps output.ps | wc -l) -eq 12" 0 "Output diff has 12 lines, difference in date"
|
||||
fi
|
||||
diff example.ps output.ps
|
||||
|
||||
rlRun "enscript -E --color --toc -w html -p output.html testfile.txt" 0 "Generate html file"
|
||||
|
|
@ -64,7 +68,11 @@ rlJournalStart
|
|||
diff example.ansi output.ansi
|
||||
|
||||
rlRun "enscript --file-align=2 -2 -B -C -G -i 1c -p - testfile.txt > output-std.ps" 0 "Generate test ps file on std"
|
||||
rlRun "test $(diff example-std.ps output-std.ps | wc -l) -eq 8" 0 "Output diff has 8 lines, difference in date"
|
||||
if ! rlIsFedora; then
|
||||
rlRun "test $(diff example-std.ps output-std.ps | wc -l) -eq 8" 0 "Output diff has 8 lines, difference in date"
|
||||
else
|
||||
rlRun "test $(diff example-std.ps output-std.ps | wc -l) -eq 12" 0 "Output diff has 12 lines, difference in date"
|
||||
fi
|
||||
diff example-std.ps output-std.ps
|
||||
rlPhaseEnd
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue