force restart

This commit is contained in:
Dan Buch 2011-05-29 19:40:07 -07:00
parent 9e5cf6d00a
commit c984ce1fd0
3 changed files with 12 additions and 3 deletions

View File

@ -12,5 +12,8 @@ all: $(ALL_TARGETS)
clean: clean:
rm -vf ./bin/* rm -vf ./bin/*
test:
./tests/test_hello_world
.PHONY: all clean
.PHONY: all clean test

View File

@ -1,7 +1,8 @@
#include <cstdio> #include <iostream>
using namespace std;
int main() int main()
{ {
printf("Hello World!\n"); cout << "Hello World!" << endl;
return 0; return 0;
} }

5
basics/tests/test_hello_world Executable file
View File

@ -0,0 +1,5 @@
#!/bin/bash
./bin/hello-world > /dev/null 2>&1
exit $?