summaryrefslogtreecommitdiffstats
path: root/tests/plain-run.sh
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2005-09-29 12:03:56 (GMT)
committerEelco Dolstra <e.dolstra@tudelft.nl>2005-09-29 12:03:56 (GMT)
commit0da4ea8b6510e0d00ccf1eb0c52599532d8c4bb3 (patch)
treedf46cf02ddc181cc75db90055bf9d4ed1aa96e79 /tests/plain-run.sh
parent0177cc4483979b5b216240e0b1340ce97dd84113 (diff)
downloadpatchelf-0da4ea8b6510e0d00ccf1eb0c52599532d8c4bb3.zip
patchelf-0da4ea8b6510e0d00ccf1eb0c52599532d8c4bb3.tar.gz
patchelf-0da4ea8b6510e0d00ccf1eb0c52599532d8c4bb3.tar.bz2
* Add tests.
Diffstat (limited to 'tests/plain-run.sh')
-rwxr-xr-xtests/plain-run.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/plain-run.sh b/tests/plain-run.sh
new file mode 100755
index 0000000..e092956
--- /dev/null
+++ b/tests/plain-run.sh
@@ -0,0 +1,7 @@
+#! /bin/sh
+LD_LIBRARY_PATH=. ./main
+exitCode=$?
+if test "$exitCode" != 46; then
+ echo "bad exit code!"
+ exit 1
+fi