forked from Imagelibrary/binutils-gdb
from gas/testscripts -- may be useful someday
This commit is contained in:
20
gas/testsuite/lib/doboth
Executable file
20
gas/testsuite/lib/doboth
Executable file
@@ -0,0 +1,20 @@
|
||||
#!/bin/sh
|
||||
# $Id$
|
||||
|
||||
x=$1 ; shift
|
||||
y=$1 ; shift
|
||||
|
||||
rm tmp.0 > /dev/null 2>&1
|
||||
ln -s $x tmp.0
|
||||
$* tmp.0 > tmp.1
|
||||
|
||||
rm tmp.0
|
||||
ln -s $y tmp.0
|
||||
$* tmp.0 > tmp.2
|
||||
|
||||
rm tmp.0
|
||||
|
||||
diff -c tmp.1 tmp.2
|
||||
exit
|
||||
|
||||
#eof
|
||||
Reference in New Issue
Block a user