]> git.donarmstrong.com Git - biopieces.git/commitdiff
added tests for rename_keys
authormartinahansen <martinahansen@74ccb610-7750-0410-82ae-013aeee3265d>
Wed, 15 Jun 2011 10:00:23 +0000 (10:00 +0000)
committermartinahansen <martinahansen@74ccb610-7750-0410-82ae-013aeee3265d>
Wed, 15 Jun 2011 10:00:23 +0000 (10:00 +0000)
git-svn-id: http://biopieces.googlecode.com/svn/trunk@1478 74ccb610-7750-0410-82ae-013aeee3265d

bp_test/in/rename_keys.in [new file with mode: 0644]
bp_test/out/rename_keys.out.1 [new file with mode: 0644]
bp_test/test/test_rename_keys [new file with mode: 0755]

diff --git a/bp_test/in/rename_keys.in b/bp_test/in/rename_keys.in
new file mode 100644 (file)
index 0000000..2b130d5
--- /dev/null
@@ -0,0 +1,4 @@
+SEQ_NAME: test
+SEQ: CAGCACTAGCATCGACGACAGCACGCAT
+SEQ_LEN: 28
+---
diff --git a/bp_test/out/rename_keys.out.1 b/bp_test/out/rename_keys.out.1
new file mode 100644 (file)
index 0000000..d991296
--- /dev/null
@@ -0,0 +1,4 @@
+SEQ_LEN: 28
+SEQ_NAME: test
+FOO: CAGCACTAGCATCGACGACAGCACGCAT
+---
diff --git a/bp_test/test/test_rename_keys b/bp_test/test/test_rename_keys
new file mode 100755 (executable)
index 0000000..f475cc0
--- /dev/null
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+source "$BP_DIR/bp_test/lib/test.sh"
+
+run "$bp -I $in -k SEQ,FOO -O $tmp"
+assert_no_diff $tmp $out.1
+clean