blob: 45fd92d1b6f0cd47819be57b53b284926dc8629d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#!/usr/bin/env perl
# $Id$
# Public domain. Originally written 2010, Karl Berry.
# Check that bibtex respects openout_any.
BEGIN { chomp ($srcdir = $ENV{"srcdir"} || `dirname $0`); }
require "$srcdir/../tests/common-test.pl";
exit (&main ());
sub main
{
$ENV{"openout_any"} = "p"; # should already be in texmf.cnf, but ...
# .blg open of abs path should fail
my $ret = &test_run ("./bibtex", "$srcdir/exampl.aux");
# The test fails if the program succeeded. Ideally we'd grep the output.
my $bad = ($ret == 0);
return $bad;
}
|