File: testThemeExecution

package info (click to toggle)
gnump3d 2.9.3-1sarge3
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 2,420 kB
  • ctags: 366
  • sloc: perl: 10,649; sh: 188; makefile: 147
file content (21 lines) | stat: -rwxr-xr-x 319 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/perl -w
# Test that commands can be run from theme template files.
use gnump3d::files;


my $input = 'testThemeExecution.data';

my @lines = &readFileWithExpansion( $input );

#
# Make sure the command has been executed.
#
foreach my $line ( @lines )
{
   if ( $line =~ /<--/ )
   {
	exit 1;
   }
}

exit 0;