Skip to content

Commit

Permalink
License under GPL 3 (or later).
Browse files Browse the repository at this point in the history
  • Loading branch information
rudis committed Feb 9, 2012
1 parent f387799 commit 416e69b
Show file tree
Hide file tree
Showing 14 changed files with 734 additions and 0 deletions.
674 changes: 674 additions & 0 deletions COPYING

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,3 +76,8 @@ The test files should be named according to the following convention:
* cmd_*: For each command (see libr/core/cmd.c).
* feat_*: For features not tied to a single command, like grep or
redirection.

License
-------

The test files are licensed under GPL 3 (or later).
17 changes: 17 additions & 0 deletions run_tests.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,22 @@
#!/bin/sh

# Copyright (C) 2011 pancake<nopcode.org>
# Copyright (C) 2011-2012 Edd Barrett <[email protected]>
# Copyright (C) 2012 Simon Ruderich <[email protected]>
#
# 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
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.


die() {
echo "$1"
Expand Down
2 changes: 2 additions & 0 deletions t/cmd_flag
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/sh

# GPL 3+ - Copyright (C) 2011-2012 pancake, Edd Barrett, Simon Ruderich

. ../tests.sh

## "f" - set flags
Expand Down
2 changes: 2 additions & 0 deletions t/cmd_help
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/sh

# GPL 3+ - Copyright (C) 2011-2012 pancake, Edd Barrett, Simon Ruderich

. ../tests.sh

## "?v" - hex value of math expr
Expand Down
2 changes: 2 additions & 0 deletions t/cmd_open
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/sh

# GPL 3+ - Copyright (C) 2011-2012 pancake, Edd Barrett, Simon Ruderich

. ../tests.sh

NAME='o-'
Expand Down
2 changes: 2 additions & 0 deletions t/cmd_search
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/sh

# GPL 3+ - Copyright (C) 2011-2012 pancake, Edd Barrett, Simon Ruderich

. ../tests.sh

## "/" - search for string
Expand Down
2 changes: 2 additions & 0 deletions t/cmd_seek
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/sh

# GPL 3+ - Copyright (C) 2011-2012 pancake, Edd Barrett, Simon Ruderich

. ../tests.sh

## "s" - seek to address
Expand Down
2 changes: 2 additions & 0 deletions t/cmd_system
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/sh

# GPL 3+ - Copyright (C) 2011-2012 pancake, Edd Barrett, Simon Ruderich

. ../tests.sh

# "!" - run commands (via system)
Expand Down
2 changes: 2 additions & 0 deletions t/cmd_write
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/sh

# GPL 3+ - Copyright (C) 2011-2012 pancake, Edd Barrett, Simon Ruderich

. ../tests.sh

## "wa" - write opcode
Expand Down
2 changes: 2 additions & 0 deletions t/feat_arithmetic
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/sh

# GPL 3+ - Copyright (C) 2011-2012 pancake, Edd Barrett, Simon Ruderich

. ../tests.sh

## Arithmetic expressions
Expand Down
2 changes: 2 additions & 0 deletions t/feat_cache
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/sh

# GPL 3+ - Copyright (C) 2011-2012 pancake, Edd Barrett, Simon Ruderich

. ../tests.sh

## cache
Expand Down
2 changes: 2 additions & 0 deletions t/feat_grep
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/sh

# GPL 3+ - Copyright (C) 2011-2012 pancake, Edd Barrett, Simon Ruderich

. ../tests.sh

## grep
Expand Down
18 changes: 18 additions & 0 deletions tests.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
#!/do/not/execute

# Copyright (C) 2011 pancake<nopcode.org>
# Copyright (C) 2011-2012 Edd Barrett <[email protected]>
# Copyright (C) 2012 Simon Ruderich <[email protected]>
#
# 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
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.


run_test() {
if [ -z "${R2}" ]; then
R2=$(which radare2)
Expand Down

0 comments on commit 416e69b

Please sign in to comment.