# Tests for blhc.
#
-# Copyright (C) 2012-2013 Simon Ruderich
+# Copyright (C) 2012-2014 Simon Ruderich
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
use strict;
use warnings;
-use Test::More tests => 218;
+use Test::More tests => 216;
sub is_blhc {
$usage;
is_blhc '', '--version', 0,
- 'blhc 0.04 Copyright (C) 2012-2013 Simon Ruderich
+ 'blhc 0.05 Copyright (C) 2012-2014 Simon Ruderich
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
is_blhc 'arch-ia64', '', 8,
$arch_ia64;
-is_blhc 'arch-mipsel', '', 8,
- 'CFLAGS missing (-Werror=format-security): gcc -D_FORTIFY_SOURCE=2 -g -O2 -Wformat -Wformat-security -Wall -c test.c
-LDFLAGS missing (-Wl,-z,relro): gcc -Wl,-z,now -o test test.o
-';
-
is_blhc 'arch-ia64', '--arch i386', 8,
'CFLAGS missing (-fstack-protector-strong): gcc -D_FORTIFY_SOURCE=2 -g -O2 -fPIE -Wformat -Wformat-security -Werror=format-security -Wall -c test.c
LDFLAGS missing (-Wl,-z,relro): gcc -fPIE -pie -o test test.o